/* ============================================================
   Pintores PdC — "Costa Fresca" design system
   Shared by every page. Hand-written, no build step.
   Palette: petrol #0F4C5C · sand #E8DCC8 · amber #F4A259
   Type:    Poppins (headings) + Inter (body)
   ============================================================ */

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

:root {
  --petrol:      #0F4C5C;
  --petrol-2:    #13647a;
  --petrol-dark: #0a3641;
  --ink:         #13313a;
  --sand:        #E8DCC8;
  --sand-soft:   #f3ece0;
  --amber:       #F4A259;
  --amber-dark:  #e08534;
  --green:       #25D366;
  --green-dark:  #1ebe5b;
  --paper:       #ffffff;
  --paper-2:     #f7f9f9;
  --muted:       #5c7178;
  --line:        #e4e9ea;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 12px 30px -12px rgba(15,76,92,.22);
  --shadow-sm:   0 4px 14px -6px rgba(15,76,92,.18);
  --wrap:        1140px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-dark);
}
.eyebrow.on-dark { color: var(--amber); }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-amber  { background: var(--amber); color: #3a2208; box-shadow: 0 10px 22px -8px rgba(244,162,89,.6); }
.btn-amber:hover  { background: var(--amber-dark); transform: translateY(-2px); }
.btn-wa     { background: var(--green); color: #fff; box-shadow: 0 10px 22px -8px rgba(37,211,102,.5); }
.btn-wa:hover     { background: var(--green-dark); transform: translateY(-2px); }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-petrol:hover { background: var(--petrol-2); transform: translateY(-2px); }
.btn-outline{ background: transparent; color: var(--petrol); border-color: var(--sand); }
.btn-outline:hover{ border-color: var(--petrol); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ─── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-2));
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand .mark svg { width: 22px; height: 22px; }
.brand .name { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--petrol); line-height: 1; }
.brand .name small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-dark); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-weight: 500; font-size: 0.94rem; color: var(--ink);
  padding: 9px 13px; border-radius: 9px; transition: background .15s, color .15s;
}
.nav a:hover, .nav a.active { background: var(--sand-soft); color: var(--petrol); }
.header-cta { display: flex; align-items: center; gap: 9px; }
.header-cta .btn { padding: 10px 18px; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--petrol); }

/* mobile nav drawer */
.mobile-nav { display: none; }

@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    display: block; position: fixed; inset: 70px 0 0 0; z-index: 49;
    background: var(--paper); padding: 18px 22px 30px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s; overflow-y: auto;
  }
  .mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 13px 6px; font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .mobile-nav .group-label { font-family:'Poppins'; font-weight:700; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--amber-dark); margin: 16px 0 2px; }
  .mobile-nav .cta-row { display: flex; gap: 10px; margin-top: 20px; }
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--petrol) 0%, var(--petrol-2) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 78px 0 70px;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,89,.26), transparent 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); color: #fff; max-width: 16ch; margin: 16px 0 18px; }
.hero h1 .hl { color: var(--amber); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: #d7e6ea; max-width: 56ch; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: 0.92rem; color: #bcd4da; }
.hero-trust b { color: #fff; }
.hero-trust .tick { color: var(--amber); font-weight: 700; }

/* page hero (interior pages) */
.page-hero { background: linear-gradient(140deg, var(--petrol) 0%, var(--petrol-2) 100%); color: #fff; padding: 58px 0 54px; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; right:-120px; top:-90px; width:380px; height:380px; border-radius:50%; background: radial-gradient(circle, rgba(244,162,89,.22), transparent 68%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin: 14px 0 14px; max-width: 20ch; }
.page-hero .lead { color: #d7e6ea; font-size: 1.12rem; max-width: 58ch; }
.breadcrumb { font-size: 0.82rem; color: #9fc0c8; margin-bottom: 6px; }
.breadcrumb a:hover { color: #fff; }

/* ─── Sections ────────────────────────────────────────── */
section { padding: 64px 0; }
section.tight { padding: 46px 0; }
.section-head { max-width: 62ch; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; margin: 12px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-soft { background: var(--paper-2); }
.bg-sand { background: var(--sand-soft); }

/* ─── Service cards grid ──────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: transform .15s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sand); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--sand-soft); color: var(--petrol); margin-bottom: 16px;
}
.card .ico svg { width: 26px; height: 26px; }
.card.imper .ico { background: var(--petrol); color: #fff; }
.card h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; flex: 1; }
.card .more { font-family:'Poppins'; font-weight: 600; font-size: 0.9rem; color: var(--amber-dark); display: inline-flex; align-items: center; gap: 5px; }
.card:hover .more { gap: 9px; }
.pill { display:inline-block; font-family:'Poppins'; font-weight:700; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; padding:5px 12px; border-radius:50px; margin-bottom:14px; }
.pill.pintura { background: var(--sand); color: var(--petrol); }
.pill.imper { background: var(--petrol); color: #fff; }

/* chips / tag lists */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.86rem; font-weight: 500; color: #3c5860; background: var(--paper-2); border: 1px solid var(--line); padding: 8px 13px; border-radius: 9px; }

/* feature list with ticks */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 1rem; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--sand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4C5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }

/* two-column split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 30px; } }

/* steps */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step { display: flex; gap: 16px; }
.step .n { counter-increment: s; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--petrol); color: #fff; font-family:'Poppins'; font-weight: 700; display: grid; place-items: center; }
.step .n::before { content: counter(s); }
.step h4 { font-size: 1.08rem; margin-bottom: 3px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* CTA band */
.cta-band { background: linear-gradient(140deg, var(--petrol-dark), var(--petrol)); color: #fff; border-radius: 24px; padding: 48px 44px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; left:-80px; bottom:-100px; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, rgba(244,162,89,.22), transparent 68%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #cfe1e6; max-width: 50ch; margin: 0 auto 26px; font-size: 1.06rem; }
.cta-band .hero-cta { justify-content: center; }

/* trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 760px){ .trust-strip { grid-template-columns: repeat(2,1fr); } }
.trust-item { text-align: center; padding: 8px; }
.trust-item .big { font-family:'Poppins'; font-weight: 800; font-size: 2rem; color: var(--petrol); }
.trust-item .lbl { font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 760px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-family:'Poppins'; font-weight: 600; font-size: 1.02rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--paper-2); transition: border-color .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--petrol-2); background: #fff; }

/* ─── Sticky mobile CTA bar ───────────────────────────── */
.cta-bar { display: none; }
@media (max-width: 920px) {
  .cta-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px -8px rgba(0,0,0,.25);
  }
  .cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-family:'Poppins'; font-weight: 600; color: #fff; font-size: 1rem; }
  .cta-bar a svg { width: 20px; height: 20px; }
  .cta-bar .c-call { background: var(--petrol); }
  .cta-bar .c-wa { background: var(--green); }
  body { padding-bottom: 56px; }
}

/* ─── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--petrol-dark); color: #c5d8dd; padding: 56px 0 26px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
@media (max-width: 820px){ .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 480px){ .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #c5d8dd; font-size: 0.94rem; display: block; padding: 4px 0; transition: color .15s; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand .name { color: #fff; }
.site-footer .about { font-size: 0.94rem; line-height: 1.7; margin-top: 14px; max-width: 34ch; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.84rem; color: #8fabb2; }

/* utilities */
.mt-0{margin-top:0}.center{text-align:center}.mb-0{margin-bottom:0}
.lead-muted { color: var(--muted); font-size: 1.08rem; }
