:root {
  --navy: #0b2545;
  --navy-2: #071a31;
  --brand: #506f9f;
  --brand-dark: #3c5c8c;
  --aqua: #19b9e6;
  --aqua-dark: #087da5;
  --sky: #eaf4fa;
  --sky-2: #f4f9fc;
  --white: #fff;
  --text: #334155;
  --muted: #64748b;
  --line: #dbe7ef;
  --success: #138a62;
  --danger: #b42318;
  --shadow-sm: 0 10px 30px rgba(11, 37, 69, .08);
  --shadow-lg: 0 24px 70px rgba(7, 26, 49, .16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --wrap: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.68; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--navy); font-weight: 780; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.42rem); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--navy); background: #bceefe; }

.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { position: relative; padding: clamp(72px, 9vw, 118px) 0; }
.centered { text-align: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: var(--aqua-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.eyebrow.light { color: #bdeeff; }
.lead { color: #40566e; font-size: 1.16rem; line-height: 1.75; }
.section-heading { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 62px); }
.section-heading h2 { margin-bottom: 16px; }
.section-heading > p { color: var(--muted); font-size: 1.07rem; }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; max-width: none; gap: 60px; }
.split-heading > p { margin-bottom: 12px; }
.center-action { display: flex; justify-content: center; margin-top: 40px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 10px; font-size: .92rem; font-weight: 750; line-height: 1.2; letter-spacing: -.01em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(25, 185, 230, .45); outline-offset: 3px; }
.button .icon { width: 19px; height: 19px; }
.button-primary { color: var(--white); background: var(--aqua-dark); box-shadow: 0 10px 24px rgba(8, 125, 165, .25); }
.button-primary:hover { color: var(--white); background: #076e92; box-shadow: 0 14px 32px rgba(8, 125, 165, .3); }
.button-secondary { color: var(--navy); background: var(--white); border-color: #aac0d1; }
.button-secondary:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-white { color: var(--navy); background: var(--white); }
.button-white:hover { color: var(--navy); background: #dff6fd; }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.55); }
.button-outline-light:hover { color: var(--navy); background: var(--white); border-color: var(--white); }
.button-glass { color: var(--white); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.34); backdrop-filter: blur(10px); }
.button-glass:hover { color: var(--navy); background: var(--white); }
.button-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--aqua-dark); font-size: .9rem; font-weight: 780; }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link.large { font-size: 1rem; }

/* Header */
.site-header { position: relative; z-index: 1000; }
.site-header.is-sticky { height: 123px; }
.topbar { color: #d8e7f2; background: var(--navy-2); font-size: .78rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 20px; }
.topbar-left { display: flex; align-items: center; gap: 27px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--aqua); }
.topbar a:hover { color: var(--white); }
.topbar-phone { color: var(--white); font-weight: 760; letter-spacing: .02em; }
.nav-shell { height: 83px; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(11,37,69,.08); transition: box-shadow .2s ease, height .2s ease; }
.site-header.is-sticky .nav-shell { position: fixed; top: 0; right: 0; left: 0; height: 73px; box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 28px; }
.brand { display: block; flex: 0 0 auto; width: min(290px, 29vw); }
.brand img { width: 100%; max-height: 64px; object-fit: contain; object-position: left center; }
.site-header.is-sticky .brand img { max-height: 55px; }
.primary-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; min-height: 82px; color: #263b51; font-size: .84rem; font-weight: 720; white-space: nowrap; }
.site-header.is-sticky .menu > li > a { min-height: 72px; }
.menu > li > a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--aqua); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.menu > li:hover > a::after, .menu > .current-menu-item > a::after, .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.menu-item-has-children > a { gap: 5px; }
.menu-item-has-children > a::before { order: 2; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg); }
.sub-menu { position: absolute; top: calc(100% - 1px); left: -22px; width: 260px; margin: 0; padding: 12px; visibility: hidden; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px); transition: .2s ease; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.sub-menu a { display: block; padding: 10px 12px; color: var(--text); border-radius: 7px; font-size: .84rem; font-weight: 650; }
.sub-menu a:hover { color: var(--navy); background: var(--sky); }
.nav-cta { min-height: 45px; padding-inline: 18px; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; color: var(--navy); background: var(--sky); border: 0; border-radius: 9px; }
.nav-toggle .icon { width: 25px; height: 25px; margin: auto; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: block; }

/* Hero */
.hero { position: relative; min-height: min(775px, calc(100vh - 40px)); color: var(--white); background: var(--navy-2); overflow: hidden; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url('../images/hero-fontanero-alhaurin.webp') center center/cover no-repeat; transform: scale(1.01); }
.hero-overlay { background: linear-gradient(90deg, rgba(4,19,37,.96) 0%, rgba(4,19,37,.87) 40%, rgba(4,19,37,.38) 67%, rgba(4,19,37,.08) 100%), linear-gradient(0deg, rgba(7,26,49,.42), transparent 45%); }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 660px; padding-top: 35px; padding-bottom: 125px; }
.hero-copy { max-width: 720px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #c7effb; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker span { width: 34px; height: 2px; background: var(--aqua); }
.hero h1 { max-width: 750px; margin-bottom: 21px; color: var(--white); font-size: clamp(2.75rem, 5.4vw, 5.25rem); }
.hero-copy > p { max-width: 660px; color: #e1ebf3; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 31px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin: 24px 0 0; padding: 0; list-style: none; color: #d9e7ef; font-size: .84rem; font-weight: 650; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .icon { width: 17px; height: 17px; color: var(--aqua); }
.hero-facts { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; background: rgba(7,26,49,.9); border-top: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 112px; }
.facts-grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; border-right: 1px solid rgba(255,255,255,.13); }
.facts-grid > div:last-child { border-right: 0; }
.facts-grid strong { color: var(--aqua); font-size: 2.2rem; line-height: 1; }
.facts-grid .icon { width: 30px; height: 30px; color: var(--aqua); }
.facts-grid span { max-width: 150px; color: #e4eef5; font-size: .83rem; font-weight: 680; line-height: 1.4; }

/* Services */
.services-section { background: var(--sky-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.service-card { position: relative; background: var(--white); border: 1px solid rgba(11,37,69,.08); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(11,37,69,.055); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card-image { position: relative; display: block; aspect-ratio: 1.5; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-image img { transform: scale(1.045); }
.service-icon { position: absolute; right: 20px; bottom: -25px; display: grid; place-items: center; width: 55px; height: 55px; color: var(--white); background: var(--aqua-dark); border: 5px solid var(--white); border-radius: 50%; box-sizing: content-box; }
.service-icon .icon { width: 25px; height: 25px; }
.service-card-body { padding: 29px 25px 25px; }
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card h3 a:hover { color: var(--aqua-dark); }
.service-card p { min-height: 76px; color: var(--muted); font-size: .91rem; line-height: 1.62; }

/* CTA */
.cta-section { padding: 0; background: var(--sky-2); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: clamp(38px, 5vw, 64px); color: var(--white); background: linear-gradient(125deg, var(--navy-2), var(--navy) 62%, #154a6c); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-card::after { align-self: stretch; flex: 0 0 150px; background: radial-gradient(circle at center, rgba(25,185,230,.45) 0 7%, transparent 8%), radial-gradient(circle at center, transparent 0 39%, rgba(25,185,230,.16) 40% 41%, transparent 42%); content: ""; }
.cta-card > div:first-child { max-width: 700px; }
.cta-card h2 { color: var(--white); font-size: clamp(1.85rem, 3.4vw, 3rem); }
.cta-card p { margin-bottom: 0; color: #d9e8f2; }
.cta-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 11px; }

/* About */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.about-media { position: relative; }
.about-media::before { position: absolute; z-index: -1; top: -25px; right: -25px; width: 60%; height: 70%; background: var(--sky); border-radius: var(--radius); content: ""; }
.about-media img { width: 100%; aspect-ratio: 1.14; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.experience-card { position: absolute; right: -20px; bottom: 28px; display: flex; align-items: center; width: 195px; gap: 12px; padding: 18px 20px; color: var(--white); background: var(--aqua-dark); border: 5px solid var(--white); border-radius: 16px; box-shadow: var(--shadow-sm); }
.experience-card strong { font-size: 2.1rem; line-height: 1; }
.experience-card span { font-size: .77rem; font-weight: 700; line-height: 1.3; }
.about-copy h2 { max-width: 620px; }
.check-list { display: grid; gap: 15px; margin: 28px 0 30px; }
.check-list > div { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { width: 23px; height: 23px; margin-top: 2px; padding: 4px; color: var(--white); background: var(--aqua-dark); border-radius: 50%; }
.check-list span { font-size: .94rem; }

/* Projects */
.projects-section { background: var(--sky-2); }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.project-image { position: relative; display: block; aspect-ratio: 1.5; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px; color: var(--white); background: linear-gradient(0deg, rgba(7,26,49,.88), rgba(7,26,49,0) 65%); opacity: 0; transition: opacity .25s ease; }
.project-overlay > span { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 750; transform: translateY(10px); transition: transform .25s ease; }
.project-overlay .icon { width: 18px; }
.project-card:hover .project-image img { transform: scale(1.05); }
.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-overlay > span { transform: translateY(0); }
.sample-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 6px 9px; color: #39475a; background: rgba(255,255,255,.93); border-radius: 6px; box-shadow: 0 5px 12px rgba(0,0,0,.08); font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.project-card-body { padding: 21px 22px 23px; }
.project-card-body h3 { margin-bottom: 8px; font-size: 1.12rem; }
.project-card-body h3 a:hover { color: var(--aqua-dark); }
.project-card-body p { margin: 0; color: var(--muted); font-size: .87rem; }
.editor-note { margin-bottom: 32px; padding: 16px 18px; color: #5f4310; background: #fff8e8; border: 1px solid #eed8a0; border-radius: 10px; font-size: .87rem; }

/* Process */
.process-section { color: var(--white); background: var(--navy-2); }
.process-section::before { position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(25,185,230,.15), transparent 27%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 42px 42px, 42px 42px; content: ""; }
.process-section .wrap { position: relative; }
.process-section h2 { color: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step { position: relative; padding: 28px 24px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.process-step > span { position: absolute; top: 16px; right: 18px; color: rgba(255,255,255,.15); font-size: 2.4rem; font-weight: 850; }
.process-step > div > .icon { width: 34px; height: 34px; margin-bottom: 25px; color: var(--aqua); }
.process-step h3 { color: var(--white); font-size: 1.08rem; }
.process-step p { margin: 0; color: #b9cad7; font-size: .86rem; }

/* Reviews */
.reviews-section { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.review-card { position: relative; margin: 0; padding: 29px; background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); }
.review-card > .icon { position: absolute; top: 25px; right: 25px; width: 37px; height: 37px; color: #c3d7e4; }
.stars { margin-bottom: 18px; color: #f4aa25; font-size: .85rem; letter-spacing: .1em; }
.review-card p { color: #44566a; font-size: .97rem; font-style: italic; }
.review-card cite { color: var(--navy); font-size: .86rem; font-style: normal; font-weight: 750; }

/* Area */
.area-section { background: var(--sky); }
.area-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(45px, 7vw, 95px); }
.area-copy p { color: #536779; }
.area-list { display: grid; gap: 11px; margin: 24px 0 30px; padding: 0; list-style: none; }
.area-list li { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 670; }
.area-list .icon { width: 20px; height: 20px; color: var(--aqua-dark); }
.map-visual { position: relative; min-height: 430px; background: #dceaf1; border: 9px solid var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.map-visual::before { position: absolute; inset: 0; background: linear-gradient(30deg, transparent 0 30%, rgba(80,111,159,.08) 31% 33%, transparent 34% 62%, rgba(80,111,159,.07) 63% 65%, transparent 66%), radial-gradient(circle at 25% 25%, rgba(104,172,130,.16) 0 18%, transparent 19%), radial-gradient(circle at 75% 72%, rgba(104,172,130,.17) 0 23%, transparent 24%); content: ""; }
.map-road { position: absolute; width: 130%; height: 18px; background: var(--white); border: 1px solid #c7d6df; box-shadow: 0 0 0 4px rgba(255,255,255,.4); }
.road-one { top: 30%; left: -12%; transform: rotate(25deg); }
.road-two { top: 65%; left: -15%; transform: rotate(-17deg); }
.road-three { top: 48%; left: -10%; transform: rotate(76deg); }
.map-pin { position: absolute; top: 41%; left: 50%; display: grid; place-items: center; width: 66px; height: 66px; color: var(--white); background: var(--aqua-dark); border: 7px solid var(--white); border-radius: 50% 50% 50% 8px; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%) rotate(-45deg); }
.map-pin .icon { width: 27px; height: 27px; transform: rotate(45deg); }
.map-label { position: absolute; top: 58%; left: 50%; display: flex; flex-direction: column; min-width: 255px; padding: 14px 18px; background: var(--white); border-radius: 11px; box-shadow: var(--shadow-sm); transform: translateX(-50%); }
.map-label strong { color: var(--navy); }
.map-label small { color: var(--muted); }

/* FAQ */
.faq-section { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(45px, 7vw, 95px); }
.faq-intro { position: sticky; top: 110px; }
.accordion { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 22px 0; color: var(--navy); background: transparent; border: 0; text-align: left; font-weight: 720; }
.faq-item button .icon { color: var(--aqua-dark); transition: transform .2s ease; }
.faq-item button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 42px 20px 0; color: var(--muted); font-size: .93rem; }
.faq-answer p { margin: 0; }

/* Contact & forms */
.contact-section, .contact-page { background: var(--sky-2); }
.contact-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: stretch; gap: 28px; }
.contact-panel { padding: clamp(35px, 5vw, 60px); color: var(--white); background: linear-gradient(145deg, var(--navy-2), var(--navy)); border-radius: var(--radius-lg); }
.contact-panel h2 { color: var(--white); }
.contact-panel > p { color: #c8d8e3; }
.contact-list { display: grid; gap: 13px; margin-top: 35px; }
.contact-list > a { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list > a > span { display: grid; place-items: center; width: 45px; height: 45px; color: var(--aqua); background: rgba(255,255,255,.08); border-radius: 50%; }
.contact-list > a > span .icon { width: 21px; }
.contact-list > a div { display: flex; flex-direction: column; min-width: 0; }
.contact-list small { color: #9fb5c5; font-size: .72rem; }
.contact-list strong { color: var(--white); font-size: .88rem; overflow-wrap: anywhere; }
.budget-form-card { height: 100%; padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-heading h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
.form-heading p { color: var(--muted); font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.budget-form label { display: grid; gap: 6px; color: #34495e; font-size: .78rem; font-weight: 720; }
.budget-form label > span { color: var(--aqua-dark); }
.budget-form input, .budget-form textarea, .budget-form select { width: 100%; color: var(--text); background: #fbfdfe; border: 1px solid #cbdbe5; border-radius: 8px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.budget-form input, .budget-form select { height: 47px; padding: 0 12px; }
.budget-form textarea { min-height: 120px; padding: 11px 12px; resize: vertical; }
.budget-form input:focus, .budget-form textarea:focus, .budget-form select:focus { border-color: var(--aqua-dark); box-shadow: 0 0 0 3px rgba(25,185,230,.14); }
.form-wide { grid-column: 1 / -1; }
.privacy-check { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px !important; margin: 17px 0; color: var(--muted) !important; font-weight: 520 !important; line-height: 1.5; }
.privacy-check input { width: 17px; height: 17px; margin-top: 2px; }
.privacy-check a, .form-note a { color: var(--aqua-dark); text-decoration: underline; }
.form-submit { border: 0; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }
.form-alert { margin-bottom: 17px; padding: 12px 14px; border-radius: 8px; font-size: .85rem; font-weight: 650; }
.form-success { color: #0f684c; background: #e9f8f2; border: 1px solid #b9ead9; }
.form-error { color: var(--danger); background: #fff0ef; border: 1px solid #f2c2bd; }
.hp-field { position: absolute; left: -9999px; }

/* Inner pages */
.page-hero { position: relative; padding: clamp(70px, 9vw, 115px) 0; color: var(--white); background: linear-gradient(120deg, var(--navy-2), var(--navy) 65%, #164d70); overflow: hidden; }
.page-hero::after { position: absolute; top: -120px; right: 2%; width: 430px; height: 430px; border: 1px solid rgba(25,185,230,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(25,185,230,.04), 0 0 0 140px rgba(25,185,230,.025); content: ""; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 880px; color: var(--white); font-size: clamp(2.35rem, 5vw, 4.4rem); }
.page-hero p { max-width: 720px; margin: 0; color: #d4e3ed; font-size: 1.05rem; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; padding-top: 17px; padding-bottom: 17px; color: var(--muted); font-size: .75rem; }
.breadcrumbs a { color: var(--aqua-dark); font-weight: 700; }
.content-wrap { max-width: 860px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.4em; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a:not(.button) { color: var(--aqua-dark); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.inner-hero { padding: clamp(55px, 7vw, 90px) 0; background: var(--sky-2); overflow: hidden; }
.inner-hero-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.inner-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.45rem); }
.inner-hero-copy > p { color: #536779; font-size: 1.07rem; }
.inner-hero-image { position: relative; }
.inner-hero-image img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.image-accent { position: absolute; z-index: -1; right: -35px; bottom: -35px; width: 55%; height: 65%; background: var(--aqua); border-radius: var(--radius); opacity: .18; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 350px; align-items: start; gap: clamp(45px, 6vw, 80px); }
.service-items { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 29px; }
.service-items > div { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--sky-2); border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-size: .88rem; font-weight: 650; }
.service-items .icon { width: 20px; height: 20px; color: var(--aqua-dark); }
.service-sidebar { position: sticky; top: 100px; padding: 29px; background: var(--sky); border: 1px solid #cfe1eb; border-radius: var(--radius); }
.service-sidebar h2 { font-size: 1.52rem; }
.service-sidebar p { color: var(--muted); font-size: .88rem; }
.service-sidebar .button { margin-top: 10px; }
.service-sidebar ul { display: grid; gap: 11px; margin: 23px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #c9dbe6; }
.service-sidebar li { display: flex; align-items: center; gap: 9px; color: #41586e; font-size: .8rem; font-weight: 650; }
.service-sidebar li .icon { width: 18px; height: 18px; color: var(--aqua-dark); }
.service-process { background: var(--sky-2); }
.mini-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-process > div { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.mini-process strong { color: var(--aqua); font-size: 1.7rem; }
.mini-process h3 { margin-top: 22px; }
.mini-process p { margin: 0; color: var(--muted); font-size: .86rem; }
.values-section { background: var(--sky-2); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value-card > .icon { width: 35px; height: 35px; margin-bottom: 25px; color: var(--aqua-dark); }
.value-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.project-single-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 55px; }
.project-single-image { position: relative; }
.project-single-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.post-featured { width: 100%; margin-bottom: 35px; border-radius: var(--radius); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.post-card > div { padding: 24px; }
.post-card h2 { font-size: 1.25rem; }
.not-found { min-height: 65vh; display: grid; place-items: center; }
.error-number { display: block; color: var(--sky); font-size: clamp(6rem, 18vw, 14rem); font-weight: 900; line-height: .8; }
.hero-actions.centered { justify-content: center; }

/* Footer */
.site-footer { color: #c7d4df; background: #06172b; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .75fr 1fr; gap: 70px; padding-top: 75px; padding-bottom: 65px; }
.footer-brand img { width: 270px; padding: 8px; background: var(--white); border-radius: 10px; }
.footer-brand p { max-width: 420px; margin-top: 23px; color: #9eb0bf; font-size: .88rem; }
.site-footer h2 { margin-bottom: 21px; color: var(--white); font-size: .95rem; letter-spacing: .04em; }
.footer-links, .footer-contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #adbdc9; font-size: .83rem; }
.footer-links a:hover { color: var(--aqua); }
.footer-contact a { display: flex; align-items: flex-start; gap: 10px; color: #adbdc9; font-size: .81rem; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--aqua); }
.footer-contact span { overflow-wrap: anywhere; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: .82rem; font-weight: 700; }
.social-link .icon { width: 19px; color: var(--aqua); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 25px; }
.footer-bottom p { margin: 0; color: #7f93a2; font-size: .72rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { color: #9eb0bf; font-size: .72rem; }
.footer-bottom nav a:hover { color: var(--white); }
.mobile-actions { display: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .brand { width: 240px; }
  .menu { gap: 17px; }
  .primary-nav { gap: 16px; }
  .menu > li > a { font-size: .77rem; }
  .nav-cta { padding-inline: 14px; font-size: .78rem; }
  .facts-grid > div { padding: 18px 14px; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 80px; }
  .topbar-left span:first-child { display: none; }
  .site-header.is-sticky { height: 112px; }
  .nav-shell, .site-header.is-sticky .nav-shell { height: 72px; }
  .brand { width: 230px; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 100; top: 72px; right: 0; bottom: 0; display: block; width: min(390px, 100%); padding: 22px; visibility: hidden; background: var(--white); box-shadow: -20px 20px 50px rgba(7,26,49,.16); opacity: 0; transform: translateX(100%); transition: .25s ease; overflow-y: auto; }
  .site-header:not(.is-sticky) .primary-nav { top: 112px; }
  .nav-open .primary-nav { visibility: visible; opacity: 1; transform: translateX(0); }
  .menu { display: block; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .site-header.is-sticky .menu > li > a { min-height: 52px; font-size: .92rem; }
  .menu > li > a::after { display: none; }
  .sub-menu { position: static; width: auto; padding: 0 0 12px 12px; visibility: visible; border: 0; box-shadow: none; opacity: 1; transform: none; }
  .sub-menu a { padding: 8px 10px; }
  .nav-cta { width: 100%; margin-top: 20px; }
  .hero { min-height: auto; }
  .hero-media { background-position: 64% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,19,37,.96), rgba(4,19,37,.79) 68%, rgba(4,19,37,.42)); }
  .hero-inner { min-height: 650px; padding-bottom: 185px; }
  .hero-copy { max-width: 620px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div { justify-content: flex-start; min-height: 75px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .facts-grid > div:nth-child(2) { border-right: 0; }
  .facts-grid > div:nth-child(3), .facts-grid > div:nth-child(4) { border-bottom: 0; }
  .facts-grid strong { font-size: 1.8rem; }
  .facts-grid .icon { width: 25px; height: 25px; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .cta-card::after { display: none; }
  .cta-actions { flex-direction: row; }
  .about-grid, .area-grid, .faq-grid, .contact-grid, .inner-hero-grid, .project-single-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 680px; }
  .area-grid { gap: 45px; }
  .map-visual { min-height: 360px; }
  .faq-intro, .service-sidebar { position: static; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { max-width: 550px; }
  .reviews-grid, .values-grid, .posts-grid { grid-template-columns: 1fr; }
  .review-card { max-width: 680px; margin-inline: auto; }
  .mini-process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .section { padding: 67px 0; }
  .topbar-inner { min-height: 36px; }
  .site-header.is-sticky { height: 108px; }
  .topbar-left { gap: 0; }
  .topbar-left a { max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-phone { font-size: .72rem; }
  .brand { width: 205px; }
  .site-header:not(.is-sticky) .primary-nav { top: 108px; }
  .hero-media { background-position: 68% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,19,37,.97), rgba(4,19,37,.83) 85%, rgba(4,19,37,.67)); }
  .hero-inner { min-height: 720px; padding-top: 65px; padding-bottom: 225px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.45rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-trust { display: grid; gap: 9px; }
  .facts-grid > div { min-height: 86px; padding: 15px 12px; gap: 9px; }
  .facts-grid span { font-size: .69rem; }
  .services-grid, .projects-grid, .process-grid, .mini-process, .service-items { grid-template-columns: 1fr; }
  .service-card p { min-height: auto; }
  .split-heading { grid-template-columns: 1fr; gap: 0; }
  .cta-card { width: min(calc(100% - 28px), var(--wrap)); border-radius: var(--radius); }
  .about-media::before { display: none; }
  .experience-card { right: 12px; bottom: 14px; width: 175px; }
  .map-visual { min-height: 310px; }
  .map-label { min-width: 230px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .budget-form-card { padding: 25px 20px; border-radius: var(--radius); }
  .inner-hero { padding: 58px 0; }
  .inner-hero h1 { font-size: clamp(2.3rem, 11vw, 3.3rem); }
  .inner-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 58px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .footer-bottom nav { flex-wrap: wrap; gap: 14px; }
  .mobile-actions { position: fixed; z-index: 999; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; height: 66px; color: var(--white); background: var(--navy); box-shadow: 0 -7px 25px rgba(7,26,49,.18); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .78rem; font-weight: 760; }
  .mobile-actions a + a { border-left: 1px solid rgba(255,255,255,.16); }
  .mobile-actions .mobile-whatsapp { background: #087b5c; }
  .mobile-actions .icon { width: 20px; height: 20px; }
}

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