*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html, body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:root {
  --ink: #162234;
  --ink-2: #1E2E45;
  --ink-3: #2A3B55;
  --cream: #F2EBD6;
  --cream-2: #E5DDC4;
  --accent: #C84638;
  --accent-l: #E36A55;
  --accent-d: #9F3328;
  --on-dark: #E8E2D2;
  --on-dark-mut: rgba(232,226,210,.72);
  --on-dark-mut2: rgba(232,226,210,.55);
  --on-light: #162234;
  --on-light-mut: rgba(22,34,52,.7);
  --line-dark: rgba(232,226,210,.16);
  --line-light: rgba(22,34,52,.14);

  --pad: clamp(20px, 4.5vw, 56px);
  --maxw: 1240px;

  --serif: 'Manrope', system-ui, -apple-system, sans-serif;
  --body:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --t-display: clamp(2.4rem, 7vw, 5rem);
  --t-h1:      clamp(1.9rem, 4.6vw, 3.2rem);
  --t-h2:      clamp(1.5rem, 3.4vw, 2.4rem);

  --r: 14px;
  --r-l: 22px;
}

body { margin: 0; background: var(--ink); color: var(--on-dark);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--cream { background: var(--cream); color: var(--on-light); }
.section--ink2 { background: var(--ink-2); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-l); }
.section--cream .eyebrow { color: var(--accent-d); }

.rose { color: var(--accent-l); }
.section--cream .rose { color: var(--accent-d); }

/* Announce bar */
.announce { background: var(--ink-2); border-bottom: 1px solid var(--line-dark);
  padding: 9px 0; font-size: .82rem; color: var(--on-dark-mut); }
.announce__in { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; }
.announce__msg { display: inline-flex; align-items: center; gap: .5rem; }
.announce__msg strong { color: var(--accent-l); font-weight: 700; }
.announce a { display: inline-flex; align-items: center; gap: .4rem;
  color: var(--on-dark); font-weight: 600; white-space: nowrap; }
.announce a:hover { color: var(--accent-l); }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(22,34,52,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark); }
.topbar__in { display: flex; align-items: center; gap: 1.2rem; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; min-width: 0; }
.brand__mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; }
.brand__mark img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.brand__tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-mut2); margin-top: 2px; }

.nav { display: none; margin-inline: auto; gap: clamp(14px, 1.8vw, 24px); }
.nav a { font-size: .82rem; color: var(--on-dark-mut); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap; font-weight: 500; }
.nav a:hover, .nav a.is-active { color: var(--accent-l); border-bottom-color: var(--accent-l); }
@media (min-width: 1080px) { .nav { display: flex; } }

.btn-topcall { display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  color: var(--cream); font-weight: 800; font-size: .9rem;
  letter-spacing: .01em; white-space: nowrap; margin-left: auto;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 22px rgba(200,70,56,.28); }
.btn-topcall:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(200,70,56,.4); }
.btn-topcall svg { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; padding-block: clamp(60px, 9vw, 130px) 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(200,70,56,.12), transparent 55%),
    radial-gradient(ellipse at 0% 90%, rgba(200,70,56,.06), transparent 60%), var(--ink);
  overflow: clip; }
.hero__in { position: relative; z-index: 1; }
.hero h1 { margin-top: clamp(1rem, 2vw, 1.5rem); font-size: var(--t-display);
  font-weight: 800; letter-spacing: -.028em; max-width: 17ch; line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--accent-l); }
.hero__lede { margin-top: clamp(1.2rem, 2vw, 1.6rem);
  font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--on-dark-mut);
  max-width: 60ch; line-height: 1.65; }
.hero__ctas { margin-top: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.15rem 1.7rem;
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  color: var(--cream); font-weight: 800;
  font-size: clamp(1rem, 1.2vw, 1.15rem); border-radius: 100px;
  box-shadow: 0 12px 32px rgba(200,70,56,.32);
  transition: transform .15s, box-shadow .15s; min-height: 52px; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(200,70,56,.42); }
.btn-primary svg { width: 20px; height: 20px; }
.btn-secondary { display: inline-flex; align-items: center; gap: .5rem;
  padding: 1.15rem 1.6rem; border: 1px solid var(--line-dark);
  color: var(--on-dark); font-weight: 600; font-size: .98rem;
  border-radius: 100px; transition: border-color .2s, color .2s; min-height: 52px; }
.btn-secondary:hover { border-color: var(--accent-l); color: var(--accent-l); }

.hero__features { margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; gap: clamp(14px, 2.5vw, 28px);
  color: var(--on-dark-mut); font-size: .92rem; }
.hero__feat { display: inline-flex; align-items: center; gap: .55rem; }
.hero__feat svg { width: 18px; height: 18px; color: var(--accent-l); flex-shrink: 0; }

/* Costa horizon: silueta de olas al final del hero (guiño a Lloret) */
.hero__waves { margin-top: clamp(40px, 6vw, 70px);
  height: clamp(60px, 8vw, 100px); width: 100%;
  background:
    linear-gradient(180deg, transparent 0%, var(--ink) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'><path d='M0 40 Q60 15 120 40 T240 40 T360 40 T480 40 T600 40 T720 40 T840 40 T960 40 T1080 40 T1200 40 V100 H0 Z' fill='%232A3B55' opacity='0.7'/><path d='M0 60 Q60 35 120 60 T240 60 T360 60 T480 60 T600 60 T720 60 T840 60 T960 60 T1080 60 T1200 60 V100 H0 Z' fill='%23C84638' opacity='0.25'/></svg>");
  background-size: cover, cover;
  opacity: .55; }

/* Section head */
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 800px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: end; gap: clamp(2rem, 4vw, 3.5rem); }
}
.sec-head h2 { font-size: var(--t-h1); }
.sec-head .lede { color: var(--on-light-mut); font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 60ch; }
.section--ink2 .sec-head .lede { color: var(--on-dark-mut); }

/* Servicios grid */
.svc-grid { display: grid; gap: clamp(14px, 1.6vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 620px)  { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px)  { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.svc { background: #FAF4DE; border: 1px solid var(--line-light);
  border-radius: var(--r-l); padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  transition: transform .18s, border-color .18s, background .18s;
  color: var(--on-light); }
.svc:hover { transform: translateY(-3px); border-color: var(--accent-d); background: #FCF8EA; }
.svc__ic { width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  display: grid; place-items: center; color: var(--cream); flex-shrink: 0; }
.svc__ic svg { width: 22px; height: 22px; }
.svc h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 700; color: var(--on-light); margin-top: 4px; }
.svc p { color: var(--on-light-mut); font-size: .93rem; line-height: 1.55; }
.svc__more { margin-top: auto; padding-top: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-d); font-weight: 600; }

/* Proceso */
.proc-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 600px) { .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .proc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step { padding: clamp(1.4rem, 2.5vw, 2rem); border: 1px solid var(--line-dark);
  border-radius: var(--r-l); background: var(--ink-3); position: relative; min-width: 0; }
.step__num { font-family: var(--serif); font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: .8rem; }
.step h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-bottom: .5rem; font-weight: 700; color: var(--on-dark); }
.step p { color: var(--on-dark-mut); font-size: .92rem; }

/* Zona */
.zona__addr { display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1rem; background: rgba(200,70,56,.1);
  border-radius: 100px; color: var(--accent-d); font-weight: 600;
  font-size: .94rem; margin-top: 1.2rem; }
.zona__addr svg { width: 16px; height: 16px; }
.zona__chips { margin-top: clamp(1.8rem, 3vw, 2.4rem);
  display: flex; flex-wrap: wrap; gap: 10px; }
.zona__chip { padding: .6rem 1rem; border: 1px solid var(--line-light);
  border-radius: 100px; font-size: .88rem; background: #FAF4E5;
  color: var(--on-light); transition: background .2s, border-color .2s; }
.zona__chip:hover { background: #F4EAC4; border-color: var(--accent-d); }
.zona__mapslink { margin-top: clamp(1.8rem, 3vw, 2.2rem);
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--accent-d); font-weight: 700; padding: 12px 20px;
  border: 1px solid var(--accent-d); border-radius: 100px;
  transition: background .2s, color .2s; }
.zona__mapslink:hover { background: var(--accent-d); color: var(--cream); }

/* FAQ */
.faq { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); padding: 1.2rem 0; }
.faq summary { font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem); cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; color: var(--on-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-weight: 500;
  color: var(--accent-l); font-size: 1.6rem; line-height: 1; flex-shrink: 0;
  width: 32px; height: 32px; border: 1px solid var(--line-dark);
  border-radius: 50%; display: grid; place-items: center;
  transition: transform .2s, border-color .2s; }
.faq details[open] summary::after { content: "−"; border-color: var(--accent-l); }
.faq details p { margin-top: 1rem; color: var(--on-dark-mut);
  font-size: .96rem; max-width: 65ch; line-height: 1.65; }

/* CTA final */
.cta-final { text-align: center; padding-block: clamp(80px, 12vw, 140px);
  background: radial-gradient(ellipse at 50% 0%, rgba(200,70,56,.16), transparent 60%), var(--ink); }
.cta-final h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -.02em; max-width: 20ch; margin: 0 auto 1.2rem; }
.cta-final p { color: var(--on-dark-mut); font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 52ch; margin: 0 auto 2rem; }
.cta-final .phone-mega { display: inline-block; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 5rem);
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em; margin-top: .5rem; }

/* Footer */
footer { background: #0E1828; border-top: 1px solid var(--line-dark);
  padding-block: clamp(48px, 6vw, 72px) clamp(20px, 3vw, 28px);
  color: var(--on-dark-mut); font-size: .9rem; }
.foot-grid { display: grid; gap: clamp(28px, 3vw, 40px); grid-template-columns: 1fr;
  margin-bottom: clamp(28px, 4vw, 40px); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-brand-name { font-family: var(--serif); font-weight: 800; color: var(--on-dark); font-size: 1.1rem; }
.foot-desc { margin-top: 10px; color: var(--on-dark-mut2); max-width: 32ch; font-size: .88rem; line-height: 1.6; }
.foot-callbtn { display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 16px; color: var(--accent-l); font-weight: 700; }
.foot-callbtn:hover { color: var(--accent); }
.foot h4 { font-family: var(--serif); font-weight: 700; color: var(--on-dark); font-size: .96rem; margin-bottom: 12px; }
.foot ul li { padding: 4px 0; }
.foot ul a { color: var(--on-dark-mut); }
.foot ul a:hover { color: var(--accent-l); }
.foot__addr { color: var(--on-dark-mut); font-size: .88rem; line-height: 1.7; }
.foot__bottom { border-top: 1px solid var(--line-dark); padding-top: 20px;
  color: var(--on-dark-mut2); font-size: .78rem; }

/* Sticky mobile callbar */
.callbar { display: none; }
@media (max-width: 768px) {
  .callbar { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(22,34,52,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: .55rem;
    width: 100%; padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
    color: var(--cream); font-weight: 800; font-size: 1.02rem;
    border-radius: 100px; min-height: 54px; }
  .callbar a svg { width: 18px; height: 18px; }
  body { padding-bottom: 88px; }
  .btn-topcall .btn-topcall__num { display: none; }
}

/* Accesibilidad */
:focus-visible { outline: 2px solid var(--accent-l); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent);
  color: var(--cream); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 0; }

/* Service page extras */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-mut2);
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.crumbs a { color: var(--accent-l); }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: var(--on-dark-mut2); }

.svc-hero h1 { max-width: 22ch; }

.svc-block { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .svc-block { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start; gap: clamp(2rem, 4vw, 3.5rem); }
}
.svc-block h2 { font-size: var(--t-h1); margin-bottom: 1rem; max-width: 16ch; }
.svc-block p, .svc-block li { color: var(--on-light-mut);
  font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.65; }
.section--ink2 .svc-block p, .section--ink2 .svc-block li { color: var(--on-dark-mut); }
.svc-block p + p { margin-top: 1rem; }

.svc-includes { display: grid; gap: 14px; margin-top: 1.4rem; }
.svc-includes li { display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line-dark);
  border-radius: var(--r); background: rgba(232,226,210,.03);
  font-size: .96rem; color: var(--on-dark); }
.section--cream .svc-includes li { border-color: var(--line-light);
  background: #FAF4E5; color: var(--on-light); }
.svc-includes li::before { content: "✓"; flex: 0 0 20px; width: 20px; height: 20px;
  margin-top: 2px;
  background: linear-gradient(135deg, var(--accent-l), var(--accent-d));
  border-radius: 50%; display: grid; place-items: center;
  color: var(--cream); font-family: var(--serif); font-weight: 700; font-size: .8rem; line-height: 1; }

.related-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.related-card { padding: clamp(1.2rem, 2vw, 1.6rem);
  border: 1px solid var(--line-light); border-radius: var(--r-l);
  background: #FAF4DE; color: var(--on-light);
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  transition: border-color .18s, background .18s, transform .18s; }
.related-card:hover { border-color: var(--accent-d); background: #FCF8EA; transform: translateY(-2px); }
.related-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--on-light); }
.related-card p { color: var(--on-light-mut); font-size: .9rem; }
.related-card .more { margin-top: auto; padding-top: 8px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-d); font-weight: 600; }