:root {
  --teal: #007d89;
  --cyan: #1cbbca;
  --white: #fff;
  --ink: #07373b;
  --soft: #eaf7f8;
  --dark: #003f45;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
img { max-width: 100%; }
a, button { font: inherit; }
button { cursor: pointer; }
.panel { position: relative; }

/* Loader */
.page-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--teal); opacity: 1; visibility: visible; transition: opacity .38s cubic-bezier(.23,1,.32,1), visibility .38s ease; }
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader img { width: min(360px,62vw); filter: brightness(0) invert(1); }

/* Shared header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--teal); }
.site-header-top { position: relative; z-index: 80; min-height: var(--header-h); width: 100%; padding: 18px 5vw; background: #fff; border-bottom: 1px solid rgba(0,125,137,.13); transition: opacity .25s ease, filter .25s ease; }
.site-header-top.is-dimmed { opacity: 0; pointer-events: none; }
.site-header-float { position: fixed; top: 16px; left: 50%; z-index: 2200; width: min(1180px,calc(100% - 48px)); min-height: 64px; padding: 12px 16px 12px 20px; background: rgba(255,255,255,.94); border: 1px solid rgba(0,125,137,.16); border-radius: 999px; box-shadow: 0 16px 44px rgba(0,63,69,.15); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: translate3d(-50%,-18px,0) scale(.985); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .48s cubic-bezier(.22,1,.36,1), opacity .28s ease, visibility 0s linear .48s; }
.site-header-float.is-visible { transform: translate3d(-50%,0,0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .28s ease, visibility 0s; }
.brand { display: block; flex: 0 0 auto; }
.brand img { display: block; width: 148px; height: auto; }
.site-header-float .brand img { width: 132px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .header-cta { text-decoration: none; color: inherit; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.desktop-nav a { position: relative; padding: 10px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--cyan); transition: width .3s ease; }
.desktop-nav a:hover::after { width: 100%; }
.desktop-nav a[aria-current="page"] { color: var(--cyan); }
.header-cta { padding: 11px 17px; border: 1px solid currentColor; border-radius: 999px; transition: background .3s, color .3s, transform .3s; }
.header-cta:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--teal); padding: 0; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; }

/* Shared mobile navigation */
.mobile-menu { position: fixed; inset: 0; z-index: 3000; display: none; background: var(--teal); color: #fff; padding: clamp(96px,18vh,150px) 8vw 48px; transform: translate3d(0,-102%,0); visibility: hidden; transition: transform .55s cubic-bezier(.22,1,.36,1), visibility 0s linear .55s; }
.mobile-menu.open { transform: translate3d(0,0,0); visibility: visible; transition: transform .55s cubic-bezier(.22,1,.36,1), visibility 0s; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { color: #fff; text-decoration: none; font: 600 clamp(36px,10vw,62px)/1.08 var(--serif); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.mobile-menu-close { position: absolute; top: 22px; right: 7vw; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; }
.mobile-menu-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: #fff; }
.mobile-menu-close span:first-child { transform: rotate(45deg); }
.mobile-menu-close span:last-child { transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* Shared typography/helpers */
.kicker { margin: 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; opacity: .78; }
.kicker.light { color: #dff9fa; }
.line { width: 58px; height: 1px; background: currentColor; }
.teal { background: var(--teal); color: #fff; }

/* Buttons / icons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 14px 20px; border: 0; border-radius: 999px; text-decoration: none; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; transition: transform .35s ease, box-shadow .35s ease, background-position .45s ease, color .35s ease; }
.btn-light { background: linear-gradient(110deg,var(--white) 0%,var(--white) 45%,var(--cyan) 100%); background-size: 220% 100%; background-position: 0 0; color: var(--teal); }
.btn-light:hover { background-position: 100% 0; color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,125,137,.22); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { background: linear-gradient(110deg,var(--teal),var(--cyan)); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,125,137,.22); }
.btn-icon, .inline-icon { width: 16px; height: 16px; object-fit: contain; flex: 0 0 auto; }
.btn-icon { width: 15px; height: 15px; }
.icon-light, .btn-dark .btn-icon { filter: brightness(0) invert(1); }
.btn-light:hover .btn-icon { filter: brightness(0) invert(1); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: currentColor; transition: width .35s ease; }
.text-link:hover::after { width: 100%; }

/* Shared footer */
.footer { background: var(--dark); color: #d8f0f1; padding: 42px 7vw 38px; display: flex; justify-content: space-between; align-items: flex-start; gap: 56px; }
.footer-brand { max-width: 360px; }
.footer-brand>img { width: 142px; height: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 12px; }
.footer p { font-size: 10px; letter-spacing: .08em; opacity: .76; line-height: 1.65; margin: 5px 0; }
.footer-nav { display: grid; grid-template-columns: 160px minmax(280px,1fr); gap: 54px; }
.footer-nav>div { display: flex; flex-direction: column; gap: 11px; }
.footer-nav small { font-size: 8px; letter-spacing: .2em; color: #8fe5ea; margin-bottom: 8px; }
.footer-nav a { display: flex; align-items: center; gap: 9px; color: #d8f0f1; text-decoration: none; font-size: 10px; letter-spacing: .07em; transition: color .25s, transform .25s; }
.footer-nav a:hover { color: var(--cyan); transform: translateX(3px); }
.footer-nav img { width: 16px; height: 16px; filter: brightness(0) invert(1); opacity: .9; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 2300; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1fce75; box-shadow: 0 15px 35px rgba(13,75,51,.3); transition: transform .3s ease, box-shadow .3s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 40px rgba(13,75,51,.38); }
.whatsapp-float img { width: 30px; height: 30px; filter: brightness(0) invert(1); }

/* Internal pages */
.internal-page #app { min-height: calc(100vh - var(--header-h)); }

@media(max-width:900px) {
  :root { --header-h: 72px; }
  html { scroll-padding-top: 84px; }
  .site-header-top { min-height: var(--header-h); padding: 14px 6vw; }
  .site-header-top.is-dimmed { opacity: 1; visibility: visible; }
  .site-header-float { top: 12px; width: calc(100% - 24px); min-height: 60px; padding: 9px 10px 9px 16px; background: rgba(255,255,255,.985); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { width: 124px; }
  .site-header-float .brand img { width: 110px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; border: 1px solid rgba(0,125,137,.2); border-radius: 50%; }
  .mobile-menu { display: block; }
  .footer { padding: 46px 6vw 40px; flex-direction: column; gap: 30px; }
  .footer-brand>img { width: auto; height: auto; margin-bottom: 10px; }
  .footer-nav { width: 100%; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-float img { width: 28px; }
}

@media(max-width:560px) {
  .footer-nav { grid-template-columns: 1fr; }
}

@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .site-header-float, .mobile-menu, .btn { transition-duration: .01ms !important; }
}
