:root {
  --ink: #122033;
  --ink-soft: #2a3b4f;
  --muted: #5d6d7e;
  --brand: #0f5570;
  --brand-deep: #0a3d52;
  --brand-soft: #e7f2f6;
  --sand: #eef2f6;
  --paper: #ffffff;
  --line: #d5dee7;
  --warn: #9a3412;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(18, 32, 51, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9ebf1 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #e8eef5 0%, transparent 50%),
    var(--sand);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 249, 252, 0.96);
  border-bottom: 1px solid rgba(213, 222, 231, 0.8);
  overflow: visible;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header .container {
  width: min(100% - 1.5rem, 1240px);
  overflow: visible;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  min-height: var(--header-h);
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  width: 168px;
  max-width: 42vw;
  height: auto;
}

.brand-text {
  display: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .15rem;
  min-width: 0;
}

.nav-desktop a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: .4rem .5rem;
  border-radius: 999px;
  line-height: 1.2;
}
.nav-desktop a:hover {
  color: var(--brand);
  background: rgba(15, 85, 112, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.header-phone:hover { color: var(--brand); }

.btn-header-cta {
  white-space: nowrap;
  padding: .72rem 1.05rem;
  font-size: .86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 0;
  border-radius: 999px;
  padding: .85rem 1.25rem;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
a.btn,
a.btn:visited,
a.btn:hover,
a.btn:focus,
button.btn {
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 85, 112, 0.28);
}
.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary:focus {
  background: var(--brand-deep) !important;
  color: #fff !important;
}
.btn-secondary,
a.btn-secondary,
a.btn-secondary:visited {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-secondary:hover,
a.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
}
.btn-ghost,
a.btn-ghost,
a.btn-ghost:visited {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-whatsapp,
a.btn-whatsapp,
a.btn-whatsapp:visited {
  background: #128c7e !important;
  color: #fff !important;
}
.btn-phone,
a.btn-phone,
a.btn-phone:visited {
  background: var(--ink) !important;
  color: #fff !important;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: .35rem 0 1rem;
}
.nav-mobile.open,
.nav-mobile:not([hidden]).open {
  display: block;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile.open[hidden] { display: block !important; }
.nav-mobile a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.nav-mobile-phone {
  color: var(--brand) !important;
  font-weight: 600 !important;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 28, 42, 0.35) 0%, rgba(10, 28, 42, 0.72) 48%, rgba(10, 28, 42, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 28, 42, 0.55), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 7rem 0 3.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #cfe4ec;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 15ch;
  font-weight: 650;
}
.hero-lead {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  margin: 0 0 1.6rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 .75rem;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.problems {
  background: #fff;
  border-block: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  gap: 1rem;
}
.problem-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.problem-card.is-visible {
  opacity: 1;
  transform: none;
}
.problem-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
}
.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.service-grid {
  display: grid;
  gap: 1.1rem;
}
.service-card {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.service-body {
  padding: 0 1.25rem 1.35rem;
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 .5rem;
}
.service-body p {
  color: var(--muted);
  margin: 0 0 1rem;
}
.service-benefit {
  font-size: .92rem;
  color: var(--brand-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}

.diff-grid,
.process-grid,
.trust-grid {
  display: grid;
  gap: 1rem;
}
.diff-item,
.process-step,
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brand);
  margin-bottom: .4rem;
}
.diff-item h3,
.process-step h3,
.trust-item h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
}
.diff-item p,
.process-step p,
.trust-item p {
  margin: 0;
  color: var(--muted);
}

.office {
  display: grid;
  gap: 1.2rem;
}
.office-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: .7rem;
}
.office-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.office-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
  min-height: 370px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: .7rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq details p {
  margin: .75rem 0 0;
  color: var(--muted);
}

.cta-band {
  background:
    linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  border-radius: 22px;
  padding: 2.2rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.cta-band h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Page hero compact */
.page-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #e7f2f6, transparent);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .8rem;
  max-width: 18ch;
  line-height: 1.1;
}
.page-hero p {
  max-width: 42rem;
  color: var(--muted);
  margin: 0;
}
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumbs a { text-decoration: underline; text-underline-offset: 2px; }

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  margin-bottom: 1rem;
}
.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 .7rem;
}
.content-block h3 {
  margin: 1.1rem 0 .4rem;
  font-size: 1.05rem;
}
.content-block ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.content-block li { margin-bottom: .35rem; }

.two-col {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  overflow: visible;
}
.contact-card > img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: block;
}
.contact-card a:not(.btn) {
  color: var(--brand);
  font-weight: 600;
}
.contact-card .btn {
  width: 100%;
  margin-top: .35rem;
}
.form-grid {
  display: grid;
  gap: .8rem;
}
.form-grid label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 500;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  background: #fff;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.86);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 .8rem;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.2rem;
  justify-content: space-between;
}

.floating-cta {
  position: fixed;
  right: max(.75rem, env(safe-area-inset-right, 0px));
  bottom: max(.75rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .45rem;
  pointer-events: none;
}
.floating-cta a,
.floating-cta a:visited,
.floating-cta a:hover {
  pointer-events: auto;
  border-radius: 999px;
  padding: .7rem .95rem;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .header-phone { display: inline-flex; }
  .header-inner { column-gap: 1.5rem; }
  .nav-desktop a {
    font-size: .9rem;
    padding: .5rem .7rem;
  }
}

@media (min-width: 760px) and (max-width: 979px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: flex; }
  .btn-header-cta { display: none; }
  .nav-desktop a {
    font-size: .8rem;
    padding: .4rem .45rem;
  }
}

@media (min-width: 760px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid,
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .office { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .two-col { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    padding: 2.4rem 2rem;
  }
  .service-card { box-shadow: none; }
  .service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); transition: .25s ease; }
}

@media (max-width: 759px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-desktop { display: none !important; }
  .office-gallery { grid-template-columns: 1fr 1fr; }
  .office-gallery img:first-child {
    grid-column: span 2;
    min-height: 220px;
    height: 220px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}