:root {
  --bg: #f3f2ec;
  --bg-strong: #e7dfcf;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fcfbf6;
  --text: #102128;
  --muted: #59656d;
  --line: rgba(16, 33, 40, 0.12);
  --accent: #c9a64b;
  --accent-dark: #a9872f;
  --brand-cyan: #25c8d2;
  --brand-cyan-dark: #0e96a0;
  --shadow: 0 24px 60px rgba(16, 33, 40, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: min(1160px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 200, 210, 0.12), transparent 34%),
    radial-gradient(circle at right 12%, rgba(201, 166, 75, 0.18), transparent 22%),
    linear-gradient(180deg, #f3f2ec 0%, #f8f8f3 44%, #fcfcf8 100%);
  line-height: 1.6;
}

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

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

.site-shell {
  width: var(--site-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(243, 242, 236, 0.84);
  border-bottom: 1px solid rgba(16, 33, 40, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
}

.brand-mark {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 280px;
  height: auto;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(16, 33, 40, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--brand-cyan-dark);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.main-nav a,
.footer-column a {
  color: var(--text);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  font-weight: 800;
  color: var(--brand-cyan-dark);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--accent-dark);
}

.eyebrow,
.hero-kicker,
.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero {
  position: relative;
  padding: 18px 0 28px;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 28px auto auto 50%;
  width: min(1320px, 100vw);
  height: 720px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 36%),
    radial-gradient(circle at 78% 28%, rgba(37, 200, 210, 0.18), transparent 26%),
    radial-gradient(circle at 20% 70%, rgba(201, 166, 75, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(201, 166, 75, 0.14), rgba(37, 200, 210, 0.08));
  filter: blur(18px);
  border-radius: 56px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-band {
  position: relative;
  width: min(calc(100vw - 24px), 1440px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    linear-gradient(120deg, rgba(201, 166, 75, 0.08), rgba(37, 200, 210, 0.08));
  box-shadow: var(--shadow);
}

.hero-copy,
.bio-panel,
.cta-panel,
.info-card,
.metrics article,
.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 56px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-copy-wide {
  max-width: 100%;
}

.hero-copy h1,
.section-heading h2,
.cta-panel h2,
.bio-panel h3 {
  margin: 14px 0 0;
  font-family: "Marcellus", serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.2vw, 3.45rem);
  color: var(--brand-cyan-dark);
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-inline-points {
  display: none;
}

.hero-inline-points span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-video-wrap {
  width: 100%;
}

.hero-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.hero-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-badge {
  padding-top: 22px;
}

.hero-badge img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-cyan-dark), var(--brand-cyan));
  color: #f8fffe;
}

.button-secondary {
  border: 1px solid rgba(16, 33, 40, 0.14);
  background: rgba(255, 255, 255, 0.68);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.metrics article,
.info-card,
.timeline-item,
.bio-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.metrics article {
  padding: 24px;
}

.metrics strong {
  display: block;
  font-size: 2rem;
  font-family: "Marcellus", serif;
  color: var(--brand-cyan-dark);
}

.metrics span,
.info-card p,
.bio-copy p,
.timeline-item p,
.cta-panel p,
.bio-panel p {
  color: var(--muted);
}

.association-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.association-card {
  padding: 26px 18px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.association-card img {
  width: 100%;
  max-width: 170px;
  height: 100px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.association-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.bio-section,
.timeline,
.cta {
  padding: 88px 0 0;
}

.associations-section,
.certificates-section {
  padding: 88px 0 0;
}

.section-heading {
  max-width: 760px;
}

.whatsapp-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.bio-grid,
.memberships-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: 24px;
  margin-top: 30px;
  align-items: start;
}

.bio-copy {
  display: grid;
  gap: 18px;
  font-size: 1.02rem;
  align-content: start;
}

.bio-copy p {
  margin: 0;
}

.bio-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.bio-highlight {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.bio-highlight h3 {
  margin: 10px 0 12px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.12;
}

.bio-highlight p {
  color: var(--muted);
}

.bio-whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(235, 255, 242, 0.96), rgba(230, 250, 239, 0.88));
  border: 1px solid rgba(37, 211, 102, 0.18);
  box-shadow: var(--shadow);
}

.bio-whatsapp-copy {
  max-width: 760px;
}

.bio-whatsapp-cta h3 {
  margin: 0 0 12px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.2rem, 1.7vw, 1.75rem);
  line-height: 1.2;
}

.bio-whatsapp-cta p {
  margin: 0;
  color: var(--muted);
}

.whatsapp-cta-button {
  margin-top: 22px;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #1fb956);
  color: #fff;
}

.bio-panel {
  padding: 28px;
}

.bio-panel h3 {
  font-size: 2rem;
}

.bio-photo-panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.bio-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
}

.expertise,
.memberships {
  padding: 88px 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.service-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.service-ribbon span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-weight: 700;
}

.info-card {
  padding: 24px;
}

.info-card h3,
.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.timeline-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.timeline-year {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  font-family: "Marcellus", serif;
  font-size: 1.5rem;
  color: var(--brand-cyan-dark);
}

.membership-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 14px;
}

.membership-list span {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  color: var(--brand-cyan-dark);
}

.video-showcase {
  width: 100%;
  padding: 88px 0 0;
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.video-showcase-copy {
  max-width: 980px;
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.video-showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.video-placeholder-card {
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-embed-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: rgba(0, 0, 0, 0.08);
}

.video-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.certificate-intro {
  max-width: 860px;
  margin-top: 24px;
}

.certificate-intro p {
  margin: 0;
  color: var(--muted);
}

.certificate-carousel {
  position: relative;
  margin-top: 28px;
}

.certificate-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 8px;
  scrollbar-width: none;
}

.certificate-track::-webkit-scrollbar {
  display: none;
}

.certificate-card {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  cursor: pointer;
  scroll-snap-align: start;
}

.certificate-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 150, 160, 0.92);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.carousel-arrow-prev {
  left: -10px;
}

.carousel-arrow-next {
  right: -10px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 22, 0.88);
  z-index: 50;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.contact-section {
  padding: 88px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-card a {
  color: var(--brand-cyan-dark);
  font-weight: 700;
}

.cta {
  padding-bottom: 60px;
}

.cta-panel {
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 24%),
    linear-gradient(135deg, rgba(201, 166, 75, 0.18), rgba(37, 200, 210, 0.1));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.site-footer {
  margin-top: 24px;
  padding: 34px 0 18px;
  background: linear-gradient(180deg, rgba(235, 234, 224, 0.72), rgba(231, 223, 207, 0.96));
  border-top: 1px solid rgba(16, 33, 40, 0.08);
}

#footer-tr {
  display: none !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-brand p,
.footer-column p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-brand-head {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.footer-logo {
  width: 240px;
  height: auto;
  flex: 0 0 auto;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--accent-dark);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(36, 22, 18, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

@media (max-width: 1024px) {
  .header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .brand-logo {
    width: 230px;
  }

  .footer-logo {
    width: 210px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .footer-grid,
  .association-grid,
  .video-showcase-grid,
  .bio-grid,
  .memberships-grid,
  .card-grid,
  .metrics,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy {
    padding: 36px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-video-frame {
    min-height: 0;
  }

  .video-embed-frame {
    min-height: 280px;
  }

  .certificate-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 20px;
  }

  .header-bar {
    grid-template-columns: 1fr auto;
    min-height: 88px;
    padding: 12px 0;
  }

  .brand-logo {
    width: 180px;
  }

  .footer-logo {
    width: 180px;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid,
  .association-grid,
  .video-showcase-grid,
  .bio-grid,
  .memberships-grid,
  .card-grid,
  .metrics,
  .contact-grid,
  .timeline-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-actions,
  .main-nav {
    width: 100%;
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    gap: 14px;
    padding: 10px 0 0;
  }

  .site-header.is-open .header-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0 4px;
  }

  .hero-copy,
  .cta-panel,
  .metrics article,
  .info-card,
  .timeline-item,
  .bio-panel,
  .contact-card {
    padding: 22px;
  }

  .bio-highlight {
    padding: 22px;
  }

  .bio-whatsapp-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .bio-photo-panel img {
    min-height: 360px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-content {
    order: 2;
  }

  .hero-video-wrap {
    order: 1;
  }

  .hero-inline-points {
    display: none;
  }

  .section-heading h2,
  .bio-panel h3 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .bio-section,
  .timeline,
  .expertise,
  .associations-section,
  .certificates-section,
  .contact-section,
  .memberships,
  .video-showcase,
  .cta {
    padding-top: 72px;
  }

  .timeline-year {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .hero-band {
    width: calc(100vw - 16px);
    border-radius: 28px;
  }

  .video-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .video-embed-frame {
    min-height: 0;
  }

  .certificate-track {
    grid-auto-columns: 100%;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .carousel-arrow-prev {
    left: 6px;
  }

  .carousel-arrow-next {
    right: 6px;
  }

  .site-footer {
    padding-bottom: 88px;
  }

  #footer-tr {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(16, 33, 40, 0.08);
    box-shadow: 0 -10px 30px rgba(16, 33, 40, 0.08);
    backdrop-filter: blur(14px);
  }

  #footer-tr a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 68px;
    padding: 10px 14px;
    font-weight: 800;
    font-size: 0.92rem;
  }

  #footer-tr .left a {
    color: #1fb956;
  }

  #footer-tr .right a {
    color: var(--brand-cyan-dark);
  }

  .dotposition,
  .dotpositionright {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(31, 185, 86, 0.12);
    flex: 0 0 auto;
  }

  .dotpositionright {
    background: rgba(14, 150, 160, 0.12);
  }

  .dotposition svg,
  .dotpositionright svg {
    width: 18px;
    height: 18px;
  }
}
