/* =========================================================================
   ROOT VARIABLES
   ========================================================================= */
:root {
  --primary: #0a2540;        /* Deep medical navy */
  --primary-light: #1a3a5c;
  --accent: #b8956a;         /* Muted gold for premium accents */
  --accent-light: #d4b896;
  --whatsapp: #25D366;       /* WhatsApp Green */
  --bg: #ffffff;
  --bg-soft: #f7f9fb;
  --bg-tint: #eef3f8;
  --text: #1a1a1a;
  --text-mute: #555555;
  --text-light: #888888;
  --border: #e0e6ed;
  --white: #ffffff;

  --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.12);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

/* =========================================================================
   RESET
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.2; }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.topbar {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 0;
  font-size: 0.85rem;
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar__contact {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.topbar__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.topbar__contact a:hover { opacity: 1; color: var(--accent-light); }
.topbar__social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.topbar__social span {
  opacity: 0.7;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .topbar__social { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__contact { gap: 1.5rem; font-size: 0.78rem; }
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.nav__brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.nav__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.35rem;
  font-weight: 500;
}
.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--primary); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 37, 64, 0.2);
}
.nav__toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
}
@media (max-width: 980px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background: var(--bg-soft);
  padding: 6rem 2rem 5rem;
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__tag {
  display: inline-block;
  background: var(--bg-tint);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.hero__title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.hero__title span {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-mute);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 540px;
}
.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}
.hero__cred-item {
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.35s var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 37, 64, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  z-index: 2;
}
.hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 8s ease-out;
}
.hero__image-wrapper:hover img {
  transform: scale(1.05);
}
.hero__shape {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 80%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.15;
}
.hero__exp-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 3;
  border-top: 4px solid var(--accent);
}
.hero__exp-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.hero__exp-badge .label {
  font-size: 0.75rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
  display: block;
}

@media (max-width: 980px) {
  .hero { padding: 4rem 1.5rem 4rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__exp-badge { left: 1rem; bottom: -1rem; padding: 1rem 1.5rem; }
  .hero__exp-badge .num { font-size: 2rem; }
}

/* =========================================================================
   STATS BAR
   ========================================================================= */
.stats {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
}
.stats__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__item {
  position: relative;
  padding: 0.5rem 1rem;
}
.stat__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255,255,255,0.15);
}
.stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat__label {
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}
@media (max-width: 880px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat__item:not(:last-child)::after { display: none; }
  .stat__num { font-size: 2rem; }
}

/* =========================================================================
   SECTION COMMON
   ========================================================================= */
.section { padding: 6rem 2rem; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.container { max-width: 1280px; margin: 0 auto; }

.section__head {
  text-align: center;
  margin-bottom: 4rem;
}
.section__tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.section__title span {
  color: var(--accent);
  font-style: italic;
}
.section__intro {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-mute);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

@media (max-width: 768px) {
  .section { padding: 4rem 1.5rem; }
}

/* =========================================================================
   ABOUT
   ========================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.about__img-wrapper img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about__visual::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 1;
}
.about__content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.about__content h2 span {
  color: var(--accent);
  font-style: italic;
}
.about__content p {
  color: var(--text-mute);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about__content p strong {
  color: var(--primary);
  font-weight: 600;
}
.about__sign {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.about__sign-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
}
.about__sign-role {
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.about__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.about__badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  flex: 1;
  box-shadow: var(--shadow-sm);
}
.about__badge .icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.about__badge .text {
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__visual { max-width: 400px; margin: 0 auto; }
}

/* =========================================================================
   SPECIALTIES
   ========================================================================= */
.spec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.spec__card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.spec__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.spec__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.spec__card:hover::before {
  transform: scaleX(1);
}
.spec__icon {
  width: 60px;
  height: 60px;
  background: var(--bg-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.4s ease;
}
.spec__card:hover .spec__icon {
  background: var(--primary);
  color: var(--white);
}
.spec__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.spec__card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.spec__card p {
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.spec__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec__tag {
  font-size: 0.75rem;
  background: var(--bg-tint);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

@media (max-width: 980px) {
  .spec__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .spec__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CREDENTIALS / EDUCATION
   ========================================================================= */
.cred__timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}
.cred__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.cred__item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}
.cred__item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  z-index: 2;
}
.cred__item:last-child { padding-bottom: 0; }
.cred__year {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
  text-transform: uppercase;
}
.cred__item h4 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.cred__item p {
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================================
   HOSPITALS
   ========================================================================= */
.hosp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.hosp__card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.hosp__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.hosp__card-img {
  height: 200px;
  background: var(--bg-tint);
  position: relative;
  overflow: hidden;
}
.hosp__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hosp__card:hover .hosp__card-img img {
  transform: scale(1.08);
}
.hosp__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}
.hosp__status.past {
  background: var(--text-light);
}
.hosp__card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hosp__card-body h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.hosp__addr {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.hosp__card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.hosp__action {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s ease;
}
.hosp__action:hover { gap: 0.8rem; color: var(--accent); }
.hosp__action.wa { color: var(--whatsapp); }

@media (max-width: 768px) {
  .hosp__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   PHILOSOPHY
   ========================================================================= */
.phil {
  background: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.phil::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--accent);
  opacity: 0.05;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.phil__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.phil__quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.phil__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-style: italic;
}
.phil__cite {
  display: inline-block;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}
.phil__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.phil__role {
  font-size: 0.85rem;
  color: var(--accent-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact__info-card {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.contact__info-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.05);
}
.contact__info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--white);
}
.contact__info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.contact__info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}
.contact__info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.contact__info-text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact__info-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}
.contact__info-text a {
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.3s;
}
.contact__info-text a:hover { border-bottom-color: var(--white); }

.contact__form-wrap {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact__form-wrap h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.contact__form-wrap > p {
  color: var(--text-mute);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.form-success .check-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}
.form-success h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-mute);
}

.form-errors {
  background: #fdf2f2;
  border-left: 4px solid #e53e3e;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.form-errors ul { list-style: none; }
.form-errors li {
  font-size: 0.9rem;
  color: #c53030;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.form-errors li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.form-row { margin-bottom: 1.5rem; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.3s ease;
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.1);
}
.form-row textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 1.1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.35s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.2);
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .form-row--split { grid-template-columns: 1fr; }
  .contact__form-wrap, .contact__info-card { padding: 2rem 1.5rem; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 2rem 2rem;
}
.footer__top {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer__brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.footer__brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}
.footer__col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer__col ul { list-style: none; }
.footer__col li {
  margin-bottom: 0.8rem;
  display: flex;
    align-items: center;
    gap: 5px;
}
.footer__col a, .footer__col p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer__col a:hover { color: var(--accent-light); }
.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.footer__social a:hover {
  background: var(--accent);
}
.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 6px 20px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
