:root {
  --maroon: #5C1A24;
  --maroon-light: #7A2532;
  --rose: #B77C85;
  --blush: #FDF8F9;
  --blush-2: #F2E3E5;
  --text: #2C1D1E;
  --text-muted: #6B5A5C;
  --off-white: #e6dfe0;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--blush);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 24px; }
.section .container { padding: 0; }

.eyebrow {
  color: var(--rose);
  letter-spacing: 0.2em;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow--light { color: var(--rose); }

.eyebrow-row { display: flex; align-items: center; margin-bottom: 24px; }
.eyebrow-line { height: 1px; width: 48px; background: var(--rose); margin-right: 16px; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--maroon);
  margin: 16px 0 24px;
  text-align: center;
}
.section-title--left { text-align: left; }
.section-title--onDark { color: var(--blush); }

.section-head { text-align: center; margin-bottom: 64px; }

.divider { height: 1px; width: 64px; background: var(--rose); margin: 0 auto; }
.divider--left { margin: 0 0 32px; }

a { color: inherit; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(253,248,249,0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blush-2);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav__logo { font-family: var(--font-serif); font-weight: 700; font-size: 24px; color: var(--maroon); }
.nav__logo-dot { color: var(--rose); }

.nav__toggle {
  display: none;
  background: none; border: none; font-size: 22px; color: var(--maroon);
  cursor: pointer; padding: 8px;
}
.nav__toggle:hover { color: var(--maroon-light); }

.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.05em;
}
.nav__links a:not(.nav__phone):hover { color: var(--maroon); }
.nav__phone { display: flex; align-items: center; color: var(--maroon); font-weight: 600; text-decoration: none; font-size: 14px; white-space: nowrap; }
.nav__phone i { color: var(--rose); margin-right: 8px; }

.nav__mobile {
  background: var(--blush); border-top: 1px solid var(--blush-2);
  padding: 16px 24px; display: flex; flex-direction: column; gap: 18px;
  font-size: 15px; font-weight: 500;
}
.nav__mobile a { color: var(--maroon); text-decoration: none; }
.nav__mobile-phone { color: var(--rose) !important; font-weight: 600; }
.nav__mobile[hidden] { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 96px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; margin: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(92,26,36,0.88), rgba(92,26,36,0.78));
}
.hero__content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero__inner { max-width: 640px; }
.hero__title { font-family: var(--font-serif); font-size: clamp(36px, 6vw, 72px); color: #fff; margin: 0 0 24px; line-height: 1.1; }
.hero__title-italic { color: var(--blush-2); font-style: italic; }
.hero__lead { color: var(--off-white); font-size: 18px; margin: 0 0 40px; line-height: 1.7; max-width: 480px; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.btn {
  font-weight: 600; padding: 16px 32px; border-radius: 6px; text-decoration: none;
  font-size: 14px; letter-spacing: 0.05em; display: inline-block; border: none; cursor: pointer;
  font-family: var(--font-sans);
}
.btn--primary { background: var(--blush); color: var(--maroon); box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: background .2s, transform .2s; }
.btn--primary:hover { background: var(--blush-2); transform: translateY(-2px); }
.btn--outline { border: 1px solid #fff; color: #fff; background: transparent; transition: background .2s; }
.btn--outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- SERVICES ---------- */
.services { background: var(--blush); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card {
  background: #fff; padding: 40px; border-radius: 10px; border: 1px solid var(--blush-2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px -10px rgba(92,26,36,0.12); }
.card__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blush-2);
  display: flex; align-items: center; justify-content: center; color: var(--maroon);
  margin-bottom: 24px; font-size: 18px;
}
.card h3 { font-family: var(--font-serif); font-size: 22px; color: var(--maroon); margin: 0 0 16px; }
.card p { color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ---------- ABOUT ---------- */
.about { background: #fff; border-top: 1px solid var(--blush-2); }
.about__grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__photo { flex: 1 1 440px; height: 600px; background: var(--blush-2); border-radius: 10px; overflow: hidden; }
.image-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--rose); font-size: 15px; font-weight: 500; text-align: center; padding: 24px;
}
.image-placeholder i { font-size: 56px; opacity: .6; }
.about__text { flex: 1 1 440px; }
.bio { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }
.bio__quote {
  margin: 0; padding: 12px 16px; background: var(--blush); border-left: 3px solid var(--rose);
  border-radius: 4px; font-style: italic; color: var(--maroon); text-align: justify;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; border-top: 1px solid var(--blush-2); padding-top: 40px; }
.stat { border-left: 2px solid var(--rose); padding-left: 16px; transition: border-color .2s; }
.stat:hover { border-color: var(--maroon); }
.stat h4 { font-family: var(--font-serif); font-size: 20px; color: var(--maroon); font-weight: 600; margin: 0; }
.stat p { color: var(--text-muted); font-size: 14px; margin: 4px 0 0; }

/* ---------- ACHIEVEMENTS ---------- */
.achievements { background: var(--maroon); color: #fff; }
.achievements__lead { margin-top: 24px; color: var(--blush-2); max-width: 560px; margin-left: auto; margin-right: auto; font-weight: 300; }

.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee__track {
  display: flex; width: max-content; gap: 24px;
  animation: certMarquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes certMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; overflow-x: auto; }
}

.cert-card { flex-shrink: 0; width: 340px; display: flex; flex-direction: column; align-items: center; }
.cert-card__frame {
  display: block; width: 100%; aspect-ratio: 4/3; background: #fff; border-radius: 10px;
  padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); overflow: hidden;
}
.cert-card__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.cert-card h4 { margin: 24px 0 4px; font-family: var(--font-serif); font-size: 18px; color: var(--blush); text-align: center; line-height: 1.4; }
.cert-card p { color: var(--rose); font-size: 14px; margin: 0; font-style: italic; text-align: center; }

/* ---------- CONTACT ---------- */
.contact { background: #fff; border-top: 1px solid var(--blush-2); }
.contact__divider { margin-bottom: 40px; }
.contact__lead { color: var(--text-muted); font-size: 18px; margin-bottom: 64px; max-width: 640px; }
.contact__grid { display: flex; flex-wrap: wrap; gap: 64px; }
.contact__info { flex: 1 1 420px; display: flex; flex-direction: column; gap: 40px; }
.info-row { display: flex; align-items: flex-start; gap: 24px; }
.info-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blush-2); display: flex;
  align-items: center; justify-content: center; color: var(--maroon); flex-shrink: 0;
}
.info-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; margin: 0 0 4px; }
.info-value { color: var(--maroon); font-weight: 500; font-size: 17px; margin: 0; line-height: 1.6; }
.info-value a { color: var(--maroon); text-decoration: none; }

.map-box { border-radius: 10px; overflow: hidden; border: 1px solid var(--blush-2); height: 260px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.directions-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: -16px; font-size: 14px;
  font-weight: 600; color: var(--maroon); text-decoration: none;
}
.directions-link:hover { color: var(--maroon-light); }

.contact__form-wrap { flex: 1 1 420px; background: var(--blush); padding: 40px; border-radius: 10px; border: 1px solid var(--blush-2); }

.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: flex; gap: 24px; flex-wrap: wrap; }
.form-row .field { flex: 1 1 160px; }
.field label { display: block; font-size: 12px; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--blush-2);
  border-radius: 6px; padding: 14px; font-size: 15px; font-family: var(--font-sans);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.field textarea { resize: vertical; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  color: #a3222c; background: #fdecec; border: 1px solid #f3c8c8; border-radius: 6px;
  padding: 12px 14px; font-size: 14px; margin: 0;
}
.form-error[hidden] { display: none; }

.btn--submit { width: 100%; background: var(--maroon); color: #fff; transition: background .2s; }
.btn--submit:hover { background: var(--maroon-light); }
.btn--submit:disabled { opacity: .6; cursor: not-allowed; }

.form-success { text-align: center; padding: 40px 0; }
.form-success i { font-size: 40px; color: var(--maroon); margin-bottom: 16px; display: block; }
.form-success p { color: var(--maroon); font-size: 18px; font-weight: 500; margin: 0; }
.form-success[hidden] { display: none; }

/* ---------- FOOTER ---------- */
.footer { background: #2C1D1E; color: var(--blush-2); padding: 32px 24px; text-align: center; font-size: 14px; border-top: 1px solid var(--maroon); }
.footer p { margin: 0; }
.footer__link { color: inherit; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.notfound h1 { font-family: var(--font-serif); color: var(--maroon); font-size: clamp(48px, 10vw, 96px); margin: 0; }
.notfound p { color: var(--text-muted); font-size: 18px; margin: 16px 0 32px; }
.notfound .btn { background: var(--maroon); color: #fff; }

/* ---------- LEGAL PAGES ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 96px; line-height: 1.7; color: var(--text-muted); }
.legal h1 { font-family: var(--font-serif); color: var(--maroon); font-size: clamp(28px,4vw,40px); margin-bottom: 8px; }
.legal h2 { font-family: var(--font-serif); color: var(--maroon); font-size: 20px; margin-top: 40px; }
.legal p, .legal li { font-size: 16px; }
.legal .updated { color: var(--rose); font-size: 14px; margin-bottom: 32px; }
.legal a { color: var(--maroon); }
