/* ============================================================
   Alfredo Imbianchino Viterbo – Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --primary: #1b4a8a;
  --primary-dark: #0f2d57;
  --primary-light: #2563b0;
  --accent: #f5930a;
  --accent-dark: #d97c06;
  --accent-light: #fbb340;
  --bg: #f5f7fb;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a6576;
  --border: #dde3ed;
  --shadow-sm: 0 1px 4px rgba(27,74,138,0.08);
  --shadow: 0 4px 20px rgba(27,74,138,0.11);
  --shadow-lg: 0 8px 40px rgba(27,74,138,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --max: 1180px;
  --header-h: 76px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.68; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.22; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* --- Layout --- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--primary-dark); color: var(--white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p, .section--dark li { color: rgba(255,255,255,.82); }
.section--accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.section--dark .lead, .section--accent .lead { color: rgba(255,255,255,.78); }

/* --- Badge --- */
.badge {
  display: inline-block;
  background: rgba(245,147,10,.15);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.badge--light { background: rgba(255,255,255,.18); color: var(--white); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(27,74,138,.10);
  height: var(--header-h);
  transition: box-shadow .3s;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-name { display: block; font-size: 1.15rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.logo-tagline { display: block; font-size: .68rem; font-weight: 600; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block;
  padding: 8px 13px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 7px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.site-nav a:hover { background: rgba(27,74,138,.07); color: var(--primary); }
.site-nav a.active { color: var(--accent); background: rgba(245,147,10,.08); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero--inner { padding: 60px 0 52px; }
.hero--inner::after { background: var(--white); }
.hero--inner.bg-bg::after { background: var(--bg); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { }
.hero-badge { background: rgba(255,255,255,.15); color: var(--white); backdrop-filter: blur(4px); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--accent-light); font-style: normal; }
.hero-desc { font-size: 1.12rem; color: rgba(255,255,255,.86); margin-bottom: 36px; line-height: 1.72; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-chip { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.82); }
.trust-chip svg { width: 18px; height: 18px; stroke: var(--accent-light); fill: none; stroke-width: 2; flex-shrink: 0; }

.hero-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* Breadcrumb hero */
.hero-breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.hero-breadcrumb a { color: rgba(255,255,255,.7); }
.hero-breadcrumb a:hover { color: var(--white); }
.hero-breadcrumb span { margin: 0 6px; opacity: .5; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all .22s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,147,10,.35); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--bg); color: var(--primary); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: .88rem; }
.btn-lg { padding: 16px 38px; font-size: 1rem; border-radius: 12px; }

/* ================================================================
   CARDS
   ================================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(245,147,10,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: .94rem; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 18px; font-weight: 700; font-size: .88rem; color: var(--primary);
}
.card-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .2s; }
.card-link:hover { color: var(--accent); }
.card-link:hover svg { transform: translateX(3px); }

/* Service card (alternating 2-col layout) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 44px;
}
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block-img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.service-block-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-block-body h2 { margin-bottom: 16px; }
.service-block-body p { color: var(--text-muted); margin-bottom: 20px; }
.service-block-body .check-list { margin-bottom: 28px; }

/* ================================================================
   CHECK LIST
   ================================================================ */
.check-list { }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 18px; height: 18px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   FEATURES
   ================================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.feature {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.feature-icon {
  width: 68px; height: 68px;
  background: rgba(27,74,138,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.section--dark .feature-icon { background: rgba(255,255,255,.12); }
.feature-icon svg { width: 34px; height: 34px; stroke: var(--primary); fill: none; stroke-width: 1.6; }
.section--dark .feature-icon svg { stroke: var(--accent-light); }
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; color: var(--text-muted); }
.section--dark .feature p { color: rgba(255,255,255,.7); }

/* ================================================================
   STATS
   ================================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--accent-light); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .88rem; color: rgba(255,255,255,.72); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 580px; margin: 0 auto 36px; }
.cta-band .btn-white { font-size: 1rem; padding: 16px 38px; }

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--white); overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 1rem;
  user-select: none; gap: 14px;
  transition: background .18s;
}
.faq-q:hover { background: rgba(27,74,138,.03); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 2.5; transition: transform .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-muted); line-height: 1.72; font-size: .97rem; }

/* ================================================================
   ZONE SERVITE
   ================================================================ */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.zona-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .91rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.zona-chip:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); background: rgba(245,147,10,.04); }
.zona-dot { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.zona-main { border-color: var(--primary); }
.zona-main .zona-dot { background: var(--primary); }

/* ================================================================
   CONTACT FORM
   ================================================================ */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info .lead { color: var(--text-muted); margin-bottom: 32px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-ic {
  width: 46px; height: 46px;
  background: rgba(245,147,10,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-detail strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 3px; }
.contact-detail span, .contact-detail a { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-detail a:hover { color: var(--accent); }

/* Form */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 24px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .94rem;
  color: var(--text); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,74,138,.08); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: 12px; }
#form-success { display: none; padding: 14px 20px; background: #d1fae5; color: #065f46; border-radius: var(--radius); font-weight: 600; margin-top: 16px; }
#form-error   { display: none; padding: 14px 20px; background: #fee2e2; color: #991b1b; border-radius: var(--radius); font-weight: 600; margin-top: 16px; }

/* ================================================================
   TWO-COLUMN TEXT+IMAGE
   ================================================================ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col--3-2 { grid-template-columns: 3fr 2fr; }
.two-col--2-3 { grid-template-columns: 2fr 3fr; }
.two-col-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.two-col-text h2 { margin-bottom: 18px; }
.two-col-text p { color: var(--text-muted); margin-bottom: 18px; }
.two-col-text .check-list { margin-bottom: 28px; }

/* ================================================================
   INFO BOX
   ================================================================ */
.info-box {
  background: rgba(27,74,138,.05);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.info-box p { margin: 0; font-size: .96rem; }
.info-box--accent { background: rgba(245,147,10,.07); border-color: var(--accent); }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb { font-size: .83rem; color: var(--text-muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { margin: 0 7px; opacity: .5; }

/* ================================================================
   PHOTO GALLERY (grid)
   ================================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.04); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.82); padding: 68px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 2fr 2fr 3fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-tagline { opacity: .8; }
.footer-brand .logo-img { height: 52px; }
.footer-about { margin-top: 14px; font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.footer-col h4 {
  color: var(--white); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 16px; opacity: .7;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent-light); fill: none; stroke-width: 2; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { font-size: .88rem; color: rgba(255,255,255,.72); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: .8rem;
  color: rgba(255,255,255,.38); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.38); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ================================================================
   WHATSAPP FLOAT BUTTON
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  box-shadow: 0 4px 22px rgba(37,211,102,.50);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  line-height: 1;
}
.whatsapp-float:hover {
  background: #1ebe5e;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.60);
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #fff;
}

@media (max-width: 480px) {
  .whatsapp-float .wa-label { display: none; }
  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
    bottom: 20px;
    right: 16px;
  }
}


/* Call Float Button */
.callfloat {
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  box-shadow: 0 4px 22px rgba(27,74,138,.42);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  line-height: 1;
}
.callfloat:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(27,74,138,.55);
}
.callfloat svg {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 480px) {
  .callfloat .call-label { display: none; }
  .callfloat { padding: 14px; border-radius: 50%; right: 16px; bottom: 84px; }
  .whatsapp-float { right: 16px; bottom: 20px; }
}

/* zona-chip as link */
a.zona-chip { text-decoration: none; color: inherit; display: flex; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse { direction: ltr; }
  .service-block-img { aspect-ratio: 16/9; }
  .service-block-body { padding: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .two-col, .two-col--3-2, .two-col--2-3 { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .section { padding: 60px 0; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .site-nav {
    display: none; position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white); padding: 16px;
    flex-direction: column; gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 199;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 18px; font-size: .97rem; border-radius: var(--radius); }
  .nav-cta { margin-left: 0; }

  .hero { padding: 60px 0 50px; }
  .hero::after { display: none; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 14px; }
}

/* ============================================================
   Masonry Gallery (gallery.html)
   ============================================================ */
.masonry-gallery {
  columns: 3 260px;
  column-gap: 1.1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.masonry-item:hover img {
  transform: scale(1.04);
  filter: brightness(.88);
}
/* Zoom icon overlay on hover */
.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  background: rgba(27,74,138,.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: var(--radius);
}
.masonry-item:hover::after {
  opacity: 1;
}

/* Existing gallery-grid items also get cursor + zoom hint */
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(.88);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  background: rgba(27,74,138,.25)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E")
    no-repeat center;
}
.gallery-item:hover::after { opacity: 1; }

/* Service-block images also get cursor */
.service-block-img { cursor: zoom-in; }
.card-img          { cursor: zoom-in; }
