/* Edil Casa — stile principale */
:root {
  --ink: #16231f;
  --muted: #5e6a65;
  --green-950: #12382f;
  --green-800: #1c594a;
  --green-700: #28705e;
  --green-100: #e7f1ed;
  --sand: #f5f0e8;
  --sand-2: #fbf8f3;
  --gold: #c89d55;
  --white: #ffffff;
  --line: #dfe6e2;
  --danger: #a12c2c;
  --success: #176343;
  --shadow: 0 24px 60px rgba(17, 45, 37, .13);
  --radius: 18px;
  --container: 1180px;
}

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

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 850px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--sand-2); }
.section-dark { color: var(--white); background: var(--green-950); }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 1000;
  padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(22, 35, 31, .08);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: .06em; font-size: 1.08rem; }
.brand strong { color: var(--green-700); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--green-950); }
.brand-mark svg { width: 25px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 650; color: #34413c; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green-700); }
.nav-phone { padding: 10px 15px; color: var(--white) !important; background: var(--green-800); border-radius: 999px; white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.eyebrow { margin: 0 0 14px; color: var(--green-700); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-dark .eyebrow, .cta-box .eyebrow { color: #b9ded2; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.9rem, 6.4vw, 5.5rem); font-weight: 500; }
h1 em { color: var(--green-700); font-weight: 500; }
h2 { margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.1vw, 3.65rem); font-weight: 500; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }
.lead { color: var(--muted); font-size: 1.16rem; max-width: 720px; }
.section-dark .lead { color: rgba(255,255,255,.75); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--green-800); }
.btn-primary:hover { background: var(--green-950); }
.btn-secondary { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-light { color: var(--green-950); background: var(--white); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.text-link { display: inline-flex; gap: 9px; color: var(--green-700); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero { position: relative; overflow: hidden; padding: 88px 0 78px; background: linear-gradient(135deg, var(--sand-2), #edf4f0); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -190px; top: -230px; border: 1px solid rgba(28,89,74,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(28,89,74,.03), 0 0 0 140px rgba(28,89,74,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 74px; }
.hero-lead { max-width: 650px; color: var(--muted); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0; padding: 0; list-style: none; color: #4f5d57; font-size: .92rem; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: var(--green-700); font-weight: 900; }
.hero-panel { position: relative; padding: 28px; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); }
.hero-panel::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--green-100); border-radius: 21px; pointer-events: none; }
.panel-kicker { position: relative; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .85rem; font-weight: 750; }
.panel-kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4baf7d; box-shadow: 0 0 0 5px #e4f5ec; }
.house-art { position: relative; padding: 34px 10px 18px; }
.house-art svg { display: block; }
.house-art .wall { fill: #e8edea; }
.house-art .roof { fill: #1d5849; }
.house-art .door { fill: #c69a54; }
.house-art .window { fill: #d2e6de; stroke: #1d5849; stroke-width: 3; }
.house-art .line { fill: none; stroke: #1d5849; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.panel-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px 2px; border-top: 1px solid var(--line); }
.panel-footer strong { display: block; font-size: 1.15rem; }
.panel-footer span { color: var(--muted); font-size: .88rem; }
.panel-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); background: var(--green-800); text-decoration: none; }

.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid span { margin-top: 3px; color: var(--muted); font-size: .9rem; }

.page-hero { padding: 82px 0 68px; background: linear-gradient(130deg, var(--green-950), #1e5b4b); color: var(--white); }
.page-hero .eyebrow { color: #b7dfd2; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.76); font-size: 1.16rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: rgba(255,255,255,.62); font-size: .86rem; }
.breadcrumbs a { color: var(--white); text-decoration: none; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: start; }
.feature-list { border-top: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.feature-number { color: var(--gold); font-size: .84rem; font-weight: 900; }
.feature-item h3 { margin-bottom: 7px; }
.feature-item p { margin: 0; color: var(--muted); }

.section-heading { margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; max-width: 790px; }
.section-heading > p:last-child { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .info-card, .case-card, .partner-card { padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card { min-height: 100%; }
.service-card.primary { color: var(--white); border-color: var(--green-950); background: var(--green-950); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 28px; border-radius: 14px; background: var(--green-100); }
.service-card.primary .service-icon { background: rgba(255,255,255,.12); }
.service-icon svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card-label { color: var(--green-700); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.service-card.primary .card-label { color: #add7ca; }
.service-card p:not(.card-label), .info-card p, .case-card p, .partner-card p { color: var(--muted); }
.service-card.primary p:not(.card-label) { color: rgba(255,255,255,.72); }
.clean-list { margin: 22px 0 0; padding: 0; list-style: none; }
.clean-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.service-card.primary .clean-list li { border-color: rgba(255,255,255,.15); }
.clean-list li::before { content: "→"; margin-right: 9px; color: var(--gold); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process-grid li { position: relative; padding: 28px 24px; border-top: 3px solid var(--green-700); background: var(--sand-2); }
.process-grid li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 20px; border-radius: 50%; color: var(--white); background: var(--green-800); font-weight: 800; }
.process-grid p { margin: 0; color: var(--muted); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 28px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.07); }
.stat strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.stat span { color: rgba(255,255,255,.72); }

.cta-section { padding: 0 0 96px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 44px 50px; color: var(--white); background: var(--green-950); border-radius: 26px; }
.cta-box h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.4vw, 3rem); }
.cta-box p:last-child { margin-bottom: 0; color: rgba(255,255,255,.72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { position: relative; padding-top: 70px; }
.case-index { position: absolute; left: 30px; top: 24px; color: var(--gold); font-family: Georgia, serif; font-size: 2rem; }
.case-card h3 { font-size: 1.45rem; }
.case-result { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--green-700) !important; font-weight: 750; }

.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card h3 { margin-bottom: 10px; }
.partner-symbol { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; color: var(--green-800); background: var(--green-100); font-size: 1.3rem; font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-details { display: grid; gap: 16px; margin-top: 30px; }
.contact-tile { padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.contact-tile span, .contact-tile small { display: block; color: var(--muted); }
.contact-tile a { display: inline-block; margin: 3px 0; color: var(--green-800); font-size: 1.35rem; font-weight: 850; text-decoration: none; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 18px 48px rgba(17,45,37,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cbd5d0; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: var(--white); }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(40,112,94,.16); border-color: var(--green-700); }
.check-field { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 3px 0 20px; font-size: .88rem; }
.check-field input { margin-top: 4px; }
.check-field a { color: var(--green-700); }
.form-note { color: var(--muted); font-size: .82rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 10px; font-weight: 700; }
.form-status.show { display: block; }
.form-status.success { color: var(--success); background: #e9f6ef; border: 1px solid #badfca; }
.form-status.error { color: var(--danger); background: #fff0f0; border: 1px solid #e8bcbc; }

.legal { padding: 78px 0 96px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); }
.legal h2 { margin-top: 44px; font-family: inherit; font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li { color: #46534e; }
.legal .notice { padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--sand-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal th, .legal td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

.site-footer { color: rgba(255,255,255,.75); background: #0d2922; }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .9fr; gap: 50px; padding: 60px 0 42px; }
.footer-brand p { max-width: 430px; margin: 18px 0 0; }
.footer-title { margin-bottom: 16px; color: var(--white); font-weight: 800; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-contact a { display: block; color: var(--white); font-size: 1.2rem; font-weight: 800; text-decoration: none; }

.contact-tile address { margin-top: 6px; color: var(--green-800); font-style: normal; font-size: 1.05rem; font-weight: 750; line-height: 1.55; }
.contact-tile .contact-email { font-size: 1rem; overflow-wrap: anywhere; }
.company-data-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.company-data-card, .company-summary { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 48px rgba(17,45,37,.06); }
.company-data-list { margin: 0; }
.company-data-list > div { display: grid; grid-template-columns: minmax(120px,.6fr) 1.4fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-data-list > div:first-child { padding-top: 0; }
.company-data-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.company-data-list dt { color: var(--muted); font-weight: 750; }
.company-data-list dd { margin: 0; color: var(--green-800); font-weight: 750; overflow-wrap: anywhere; }
.company-data-list a, .company-summary a { color: inherit; }
.company-summary p { margin: 0 0 20px; }
.company-summary p:last-child { margin-bottom: 0; }
.bank-code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: .02em; }
.footer-company { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.78); font-size: .86rem; }
.footer-company strong { color: var(--white); }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom a { color: inherit; }

.not-found { min-height: 72vh; display: grid; place-items: center; padding: 80px 0; text-align: center; background: var(--sand-2); }
.not-found strong { display: block; color: var(--green-700); font-family: Georgia, serif; font-size: clamp(5rem, 18vw, 10rem); line-height: .9; }
.not-found h1 { margin: 24px 0 16px; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); }
.not-found p { max-width: 580px; margin-inline: auto; color: var(--muted); }

.floating-phone { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); background: var(--green-800); box-shadow: 0 14px 30px rgba(17,45,37,.28); text-decoration: none; font-size: 1.35rem; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 18px; right: 18px; top: calc(100% + 8px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .nav-phone { margin-top: 8px; text-align: center; }
  .hero-grid, .split-grid, .contact-grid, .company-data-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding-top: 66px; }
  .hero-panel { max-width: 650px; }
  .card-grid, .partner-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 70px; }
  .hero { padding: 54px 0 60px; }
  h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .trust-grid, .card-grid, .partner-grid, .process-grid, .stats-grid, .case-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .cta-box { align-items: stretch; flex-direction: column; padding: 34px 26px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-company { flex-direction: column; gap: 7px; }
  .company-data-list > div { grid-template-columns: 1fr; gap: 5px; }
  .footer-bottom { flex-direction: column; }
  .floating-phone { display: flex; }
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal th { background: var(--sand-2); }
}

.centered-actions { justify-content: center; }
