
:root {
  --ink: #17231f;
  --ink-soft: #35433e;
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --sage: #dfe8df;
  --sage-deep: #6c816f;
  --bronze: #b78252;
  --bronze-dark: #8e623d;
  --line: #ded8ce;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(23, 35, 31, .10);
  --shadow-soft: 0 10px 28px rgba(23, 35, 31, .07);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: .8rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 780px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--cream); }
.section-dark { color: white; background: var(--ink); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  color: var(--bronze-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-dark .eyebrow { color: #dfb48b; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 760px; }
.section-dark .lead { color: rgba(255,255,255,.76); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 36px; }
.section-heading > div:first-child { max-width: 760px; }
.muted { color: #66716c; }
.small { font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--bronze); }
.btn-primary:hover { background: var(--bronze-dark); }
.btn-secondary { color: var(--ink); background: transparent; border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: white; }
.btn-light { color: var(--ink); background: white; }
.btn-ghost-light { color: white; border-color: rgba(255,255,255,.48); }
.btn-ghost-light:hover { background: white; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .48; pointer-events: none; }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255,253,249,.92);
  border-bottom: 1px solid rgba(222,216,206,.75);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: Georgia, serif; font-size: 1.08rem; letter-spacing: .01em; }
.brand-text span { margin-top: .28rem; color: #68726d; font-size: .67rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { position: relative; color: #394640; text-decoration: none; font-size: .9rem; font-weight: 750; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--bronze); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 18px; height: 2px; background: var(--ink); transition: .2s ease; }
.menu-toggle { position: relative; }
.menu-toggle span { position: absolute; }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.hero { overflow: hidden; background: linear-gradient(135deg, #f7f1e7 0%, #fffdf9 52%, #e3ece4 100%); }
.hero-grid { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: 64px 0; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { color: var(--bronze-dark); }
.hero-copy .lead { margin-top: 1.4rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 1.15rem; margin-top: 1.5rem; color: #5f6b65; font-size: .86rem; font-weight: 700; }
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note span::before { content: "✓"; color: var(--bronze-dark); font-weight: 900; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 7% 9% -3% -4%; border-radius: 45% 55% 36% 64% / 51% 40% 60% 49%; background: rgba(183,130,82,.13); transform: rotate(-5deg); }
.hero-art img { position: relative; width: 100%; filter: drop-shadow(0 30px 35px rgba(23,35,31,.13)); }
.hero-badge { position: absolute; right: -1%; bottom: 7%; z-index: 3; width: 150px; padding: 1rem; color: white; background: var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.hero-badge span { font-size: .74rem; line-height: 1.35; color: rgba(255,255,255,.72); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 130px; padding: 1.35rem; display: flex; align-items: center; gap: .9rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.icon-box { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; color: var(--bronze-dark); background: var(--cream); border-radius: 12px; font-weight: 900; }
.trust-item strong { display: block; font-family: Georgia, serif; font-size: 1.03rem; font-weight: 600; }
.trust-item span { display: block; margin-top: .15rem; color: #6c7771; font-size: .8rem; line-height: 1.35; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; overflow: hidden; padding: 1.55rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1.6rem; color: white; background: var(--ink); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.card h3 { margin-bottom: .55rem; }
.card p { color: #66716c; font-size: .94rem; }
.card .text-link { display: inline-block; margin-top: .5rem; }
.card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -45px; bottom: -45px; border-radius: 50%; background: rgba(183,130,82,.1); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.project-card { grid-column: span 4; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.project-card.wide { grid-column: span 8; }
.project-card .project-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.project-card.wide .project-image { aspect-ratio: 16 / 8.5; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-content { padding: 1.25rem 1.3rem 1.4rem; }
.project-meta { margin-bottom: .55rem; color: var(--bronze-dark); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.project-content p { color: #69736e; font-size: .9rem; }
.project-placeholder { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .55rem; color: #675441; background: #f4e8db; border-radius: 999px; font-size: .68rem; font-weight: 800; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: process; }
.process-step { position: relative; padding: 1.4rem 1.2rem 1.2rem 4rem; border-top: 1px solid rgba(255,255,255,.18); }
.process-step::before { counter-increment: process; content: "0" counter(process); position: absolute; left: .15rem; top: 1.1rem; color: #dfb48b; font-family: Georgia, serif; font-size: 1.55rem; }
.process-step p { color: rgba(255,255,255,.66); font-size: .9rem; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); color: white; background: var(--ink); border-radius: 28px; }
.cta-panel::before { content: ""; position: absolute; width: 360px; height: 360px; right: -180px; top: -210px; border: 60px solid rgba(223,180,139,.12); border-radius: 50%; }
.cta-panel > * { position: relative; }
.cta-panel .btn-row { justify-content: flex-end; }
.cta-panel .lead { color: rgba(255,255,255,.72); }

.page-hero { padding: 82px 0 62px; background: linear-gradient(120deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 1.1rem; }
.breadcrumbs { margin-bottom: 1.2rem; color: #6d7772; font-size: .83rem; font-weight: 700; }
.breadcrumbs a { text-underline-offset: 3px; }

.service-detail { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 7rem); padding: 2.1rem 0; border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; }
.service-detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.service-detail li { position: relative; padding-left: 1.2rem; color: #52605a; }
.service-detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.filter-btn { padding: .65rem .95rem; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 999px; font-size: .83rem; font-weight: 800; }
.filter-btn.active, .filter-btn:hover { color: white; background: var(--ink); border-color: var(--ink); }
.project-card.is-hidden { display: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: 28px; box-shadow: var(--shadow); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.6rem; }
.value { padding: 1.1rem; background: var(--cream); border-radius: var(--radius-sm); }
.value strong { display: block; margin-bottom: .3rem; font-family: Georgia, serif; }
.value span { color: #68736d; font-size: .87rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fact { padding: 1.4rem; border-left: 3px solid var(--bronze); background: white; box-shadow: var(--shadow-soft); }
.fact strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.fact span { color: #68736d; font-size: .82rem; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 1.6rem; color: white; background: var(--ink); border-radius: var(--radius); }
.contact-method { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-method:first-of-type { margin-top: 1rem; }
.contact-method .icon-box { width: 38px; height: 38px; background: rgba(255,255,255,.09); color: #dfb48b; }
.contact-method a { font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-method span { display: block; color: rgba(255,255,255,.65); font-size: .8rem; }
.contact-form { padding: clamp(1.4rem, 3vw, 2.4rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: .83rem .9rem; color: var(--ink); background: #fffefb; border: 1px solid #cfc9c0; border-radius: 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(183,130,82,.14); }
textarea { min-height: 150px; resize: vertical; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; align-items: start; }
.check-row input { width: 18px; height: 18px; margin-top: .2rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }
.form-status { min-height: 1.5rem; margin-top: .7rem; color: #6b5140; font-size: .86rem; }
.setup-note { padding: .85rem 1rem; margin-bottom: 1rem; color: #6b5140; background: #f7eadc; border: 1px solid #e8ceb5; border-radius: 10px; font-size: .86rem; }

.legal h2 { margin: 2.4rem 0 .8rem; font-size: 1.75rem; }
.legal h3 { margin: 1.6rem 0 .5rem; font-size: 1.2rem; }
.legal ul { padding-left: 1.2rem; }
.legal p, .legal li { color: #46534e; }
.legal .updated { color: #707b76; font-size: .85rem; }

.site-footer { padding-top: 58px; color: white; background: #101916; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 2rem; padding-bottom: 42px; }
.footer-brand p { max-width: 360px; margin-top: 1rem; color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-title { margin-bottom: .85rem; color: #dfb48b; font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .87rem; overflow-wrap: anywhere; }
.footer-links a:hover { color: white; }
.footer-bottom { padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.53); font-size: .74rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; }

.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3000; display: none; max-width: 680px; margin: auto; padding: 1rem; color: white; background: #101916; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.cookie-banner.show { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.75); font-size: .82rem; }
.cookie-banner a { color: white; }
.cookie-banner .btn { min-height: 40px; padding: .55rem .85rem; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: .55rem; }
.floating-action { display: grid; place-items: center; width: 52px; height: 52px; color: white; background: var(--ink); border-radius: 50%; box-shadow: 0 12px 28px rgba(23,35,31,.23); text-decoration: none; font-weight: 900; }
.floating-action.whatsapp { background: #207c4f; }
.floating-action[hidden] { display: none; }

@media (max-width: 980px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; min-height: calc(100vh - var(--header-h)); max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 2rem; background: var(--paper); flex-direction: column; align-items: stretch; gap: .5rem; box-shadow: 0 24px 40px rgba(23,35,31,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1.15rem; }
  .site-nav .btn { margin-top: 1rem; }
  .menu-toggle { display: grid; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 72px 0; }
  .hero-copy { max-width: 720px; }
  .hero-art { max-width: 660px; margin-inline: auto; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .project-card, .project-card.wide { grid-column: span 6; }
  .process { grid-template-columns: 1fr 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .btn-row { justify-content: flex-start; }
  .service-detail { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 70px; }
  .brand-text span { display: none; }
  .section { padding: 66px 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 26px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero-grid { padding: 56px 0; }
  .hero-badge { right: 0; bottom: 2%; width: 138px; }
  .trust-grid, .card-grid, .process, .facts, .values-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 105px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .project-card, .project-card.wide { grid-column: 1 / -1; }
  .project-card.wide .project-image { aspect-ratio: 4 / 3; }
  .service-detail ul, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; }
  .cookie-banner.show { grid-template-columns: 1fr; }
  .floating-actions { right: 12px; bottom: 12px; }
  .floating-action { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
