:root {
  --ink: #24313d;
  --muted: #68727c;
  --line: #ece5dc;
  --soft: #fff7ef;
  --paper: #ffffff;
  --brand: #174d55;
  --brand-2: #276a6f;
  --accent: #c8873b;
  --accent-2: #f0bd68;
  --coral: #df745c;
  --mint: #e7f5f2;
  --wa: #128c4a;
  --danger: #7a3d25;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(20, 32, 46, .12);
  --container: min(1120px, calc(100% - 32px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf5 0, #fff 340px);
  line-height: 1.8;
}

body.nav-open { overflow: hidden; }

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(185, 138, 66, .55);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  z-index: 1000;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 245, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #2c807c);
  color: var(--accent-2);
  border: 1px solid rgba(185, 138, 66, .35);
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  line-height: 1.35;
}

.brand-text small {
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  inline-size: 46px;
  block-size: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: .2s ease;
}

.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translate(1px, -1px); }

.site-nav {
  position: fixed;
  inset: 74px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px 18px;
  display: none;
}

.site-nav.is-open { display: block; }

.nav-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--brand);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: #000;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--coral), var(--accent)); color: #fff; box-shadow: 0 12px 26px rgba(223, 116, 92, .22); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }

.hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(240,189,104,.28), transparent 32%),
    linear-gradient(135deg, #fff8ef 0%, #ffffff 48%, #e7f5f2 100%);
  min-height: auto;
  padding: 34px 0 28px;
}

.hero-layout {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-content { max-width: 780px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--coral);
  font-weight: 800;
  margin: 0 0 12px;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.6rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 3vw, 1.32rem);
  color: var(--muted);
}

.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 18px 48px rgba(36, 49, 61, .16);
  border: 1px solid rgba(200,135,59,.25);
  background: #fff;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  background: rgba(255,255,255,.9);
  color: var(--brand);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.hero-tags span,
.pill {
  border: 1px solid rgba(200, 135, 59, .28);
  background: rgba(255,255,255,.72);
  color: inherit;
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 700;
}

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

.quick-strip {
  background: #fff;
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
}

.quick-item {
  background: linear-gradient(180deg, #fff, #fff8ef);
  padding: 18px 14px;
}

.quick-item strong {
  display: block;
  color: var(--brand);
  font-size: 1.05rem;
}

.section {
  padding: 68px 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.65rem, 5vw, 2.65rem);
  line-height: 1.35;
}

.section-head p,
.page-hero p,
.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(36,49,61,.07);
}

.card-body { padding: 20px; }

.card h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 1.2rem;
}

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

.service-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.service-card .btn,
.project-card .btn { width: 100%; }

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.feature strong {
  display: block;
  color: var(--brand);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

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

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.page-hero {
  background: linear-gradient(135deg, #fff8ef, #e7f5f2);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 42px;
}

.breadcrumb {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 10px;
}

.breadcrumb a { color: var(--brand); font-weight: 700; }

.notice {
  background: #fff7e6;
  border: 1px solid #edd59e;
  color: #604515;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.faq details + details { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--brand);
}

.faq p { color: var(--muted); margin: 10px 0 0; }

.contact-box {
  background: linear-gradient(135deg, var(--brand), #2f817b);
  color: #fff;
  padding: 28px;
  border-radius: var(--radius);
}

.contact-box h2,
.contact-box h3 { color: #fff; margin-top: 0; }

.contact-box p { color: rgba(255,255,255,.84); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.contact-list a { color: #fff; font-weight: 800; }

.site-footer {
  background: #101923;
  color: #e9edf2;
  padding: 46px 0 82px;
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a { color: #e9edf2; }
.site-footer a:hover { color: var(--accent-2); }

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 18px;
  color: #b7c0ca;
}

.mobile-cta {
  position: fixed;
  inset-inline: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-button {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  text-align: inherit;
  min-height: 180px;
}

.gallery-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  background: #101923;
  border: 0;
}

.video-card .card-body {
  display: grid;
  gap: 6px;
}

.video-card p {
  margin-bottom: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(72px, env(safe-area-inset-bottom)) 18px;
  background: rgba(20, 31, 39, .88);
}

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

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.34);
}

.lightbox-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  inset-inline-end: 14px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.mobile-cta .btn {
  min-height: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

@media (min-width: 680px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .nav-links a { padding: 9px 10px; }
  .header-actions { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: .96fr 1.04fr; }
  .hero { padding: 58px 0 48px; }
  .hero-photo,
  .hero-photo img { min-height: 430px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 42px; }
}

@media (max-width: 420px) {
  :root { --container: min(100% - 22px, 1120px); }
  .brand-text span { font-size: .92rem; }
  .brand-text small { font-size: .76rem; }
  .btn { width: 100%; padding-inline: 12px; }
  .hero-actions .btn,
  .section-actions .btn { flex: 1 1 100%; }
  .quick-grid { grid-template-columns: 1fr; }
}
