:root {
  --color-primary: #1f3a5f;
  --color-secondary: #3f6ea5;
  --color-soft: #f5f7fa;
  --color-white: #ffffff;
  --color-text: #2b2b2b;
  --color-muted: #5d6b7c;
  --color-border: #d9e2ee;
  --color-whatsapp: #25d366;
  --shadow-soft: 0 18px 45px rgba(31, 58, 95, 0.12);
  --shadow-card: 0 8px 24px rgba(31, 58, 95, 0.08);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand__name,
.footer-brand {
  color: var(--color-primary);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.22;
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.18;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin-bottom: 18px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  scroll-margin-top: var(--header-height);
}

.section-soft {
  background: var(--color-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
  text-align: center;
}

.section-heading:not(.section-heading--dark) {
  margin-left: auto;
  margin-right: auto;
}

.section-heading--dark h2,
.section-heading--dark .eyebrow {
  color: var(--color-white);
}

.services .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--color-secondary);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand__name {
  color: var(--color-primary);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand__role {
  color: var(--color-muted);
  font-size: 0.83rem;
  line-height: 1.35;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-panel a {
  padding: 8px 0;
}

.nav-whatsapp,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-whatsapp {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 8px 18px rgba(31, 58, 95, 0.18);
}

.nav-whatsapp:hover,
.button--primary:hover {
  color: var(--color-white);
  background: #18304f;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: var(--color-primary);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding-top: 76px;
  background: var(--color-white);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(260px, 35fr);
  gap: 48px;
  align-items: start;
}

.hero__content {
  padding-top: 2px;
}

.hero__subtitle {
  max-width: 560px;
  color: var(--color-muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero__specialties {
  max-width: 720px;
  margin: 38px 0 0;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.7;
}

.hero__photo {
  margin-top: 36px;
  align-self: start;
}

.photo-frame {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-soft);
  box-shadow: 0 12px 28px rgba(31, 58, 95, 0.08);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-frame--hero {
  height: 330px;
}

.photo-frame--hero img {
  object-position: 50% 46%;
}

.photo-frame--office {
  height: 390px;
}

.photo-frame--office img {
  object-position: 50% 54%;
}

.photo-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.95), rgba(245, 247, 250, 0.45) 32%, transparent 33%),
    linear-gradient(160deg, #eef3f8, #ffffff 58%, #dde7f2);
  box-shadow: 0 12px 28px rgba(31, 58, 95, 0.08);
}

.photo-placeholder::before {
  width: 38%;
  aspect-ratio: 1;
  content: "";
  position: absolute;
  top: 56px;
  left: 50%;
  border-radius: 50%;
  background: #d7e0ec;
  transform: translateX(-50%);
}

.photo-placeholder::after {
  width: 60%;
  height: 46%;
  content: "";
  position: absolute;
  bottom: -16%;
  left: 50%;
  border-radius: 45% 45% 0 0;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.photo-placeholder span {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 78%;
  padding: 12px 16px;
  color: var(--color-primary);
  border: 1px solid rgba(31, 58, 95, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.photo-placeholder--office {
  min-height: 390px;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(31, 58, 95, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #f4f7fb, #ffffff);
  background-size: 42px 42px, auto;
}

.photo-placeholder--office::before,
.photo-placeholder--office::after {
  display: none;
}

.photo-placeholder--office span {
  width: auto;
  color: var(--color-white);
  border-color: transparent;
  border-radius: var(--radius);
  background: var(--color-primary);
}

.hero__differentiators {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, max-content));
  gap: 8px 28px;
  margin-top: 36px;
}

.reason-card,
.testimonial-card,
.video-placeholder,
.contact-card,
.map-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero__differentiators p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 0;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.45;
}

.hero__differentiators span {
  color: var(--color-secondary);
  font-size: 1.05rem;
  font-weight: 800;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--color-primary);
  background: #e8eef6;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon--light {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.reason-card {
  padding: 30px;
  border-left: 4px solid var(--color-secondary);
}

.reason-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.services {
  color: var(--color-white);
  background: var(--color-primary);
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-group {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.service-group__header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-group h3 {
  margin-bottom: 0;
  color: var(--color-white);
}

.service-list {
  margin: 0;
  padding-left: 22px;
}

.service-list li + li {
  margin-top: 10px;
}

.service-list span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.84);
}

.modality-list {
  margin: 8px 0 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.84);
}

.modality-list li + li {
  margin-top: 4px;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.bio-copy p:not(.eyebrow) {
  color: var(--color-muted);
}

.bio-intro {
  max-width: 720px;
  margin-bottom: 24px;
}

.credential-list {
  display: grid;
  border-top: 1px solid var(--color-border);
}

.credential-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.credential-item span {
  color: var(--color-secondary);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.credential-item p {
  margin-bottom: 0;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  overflow: hidden;
}

.testimonial-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: var(--color-primary);
  object-fit: cover;
}

.testimonial-meta {
  padding: 22px 24px 24px;
}

.testimonial-meta h3 {
  margin-bottom: 4px;
}

.testimonial-meta p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.video-placeholder {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 56%;
  background:
    linear-gradient(135deg, rgba(31, 58, 95, 0.12), rgba(63, 110, 165, 0.05)),
    var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.play-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 56px;
  left: 50%;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.play-icon::after {
  width: 0;
  height: 0;
  content: "";
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--color-white);
  margin-left: 4px;
}

.video-placeholder h3,
.video-placeholder p {
  position: relative;
  z-index: 1;
}

.video-placeholder p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 50px;
  align-items: start;
}

.faq-grid .section-heading {
  margin: 0;
  text-align: left;
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  min-height: 68px;
  padding: 20px 58px 20px 22px;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  color: var(--color-secondary);
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "−";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  color: var(--color-muted);
  transition: max-height 220ms ease;
}

.accordion-panel p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  background: linear-gradient(180deg, var(--color-white), var(--color-soft));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.contact-card {
  padding: 34px;
}

.contact-list {
  margin: 28px 0;
  display: grid;
  gap: 20px;
}

.contact-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}

.contact-list dt {
  margin-bottom: 4px;
  color: var(--color-primary);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
  color: var(--color-muted);
}

.contact-list a {
  color: var(--color-muted);
}

.button--primary {
  color: var(--color-white);
  background: var(--color-primary);
}

.map-card {
  min-height: 460px;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--color-primary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 8px;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a:hover {
  color: var(--color-white);
}

.floating-whatsapp {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-whatsapp);
  box-shadow: 0 12px 28px rgba(20, 117, 57, 0.26);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.floating-whatsapp svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 76px;
  }

  body {
    font-size: 17px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-panel a {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-panel .nav-whatsapp {
    margin-top: 14px;
    border-bottom: 0;
  }

  .nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__photo {
    width: min(420px, 100%);
    margin-top: 0;
  }

  .hero__differentiators {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bio-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid .section-heading {
    text-align: center;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .navbar {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .brand__role {
    max-width: 210px;
    font-size: 0.76rem;
  }

  .hero__subtitle {
    font-size: 1.12rem;
  }

  .hero__differentiators,
  .reason-grid,
  .service-groups {
    grid-template-columns: 1fr;
  }

  .credential-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .photo-placeholder {
    min-height: 320px;
  }

  .photo-frame--hero {
    height: 340px;
  }

  .photo-frame--office {
    height: 360px;
  }

  .reason-card,
  .service-group,
  .contact-card {
    padding: 24px;
  }

  .footer-grid {
    display: grid;
  }

  .floating-whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 16px;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .brand__role {
    max-width: 190px;
    font-size: 0.68rem;
  }
}
