/* ============================================================
   3B İzolasyon ve Sac Kaplama — Endüstriyel Boru İzolasyonu
   Soft / özgün kurumsal tema. Renkleri :root'tan değiştir.
   ============================================================ */

:root {
  /* --- Marka Renkleri (yeni logo: lacivert + metalik gri; accent = lacivert-mavi) --- */
  --navy:        #062A52;
  --navy-800:    #04203E;
  --navy-700:    #0E3C70;
  --accent:      #1F5D9E;
  --accent-700:  #17487C;
  --steel:       #6F7884;
  --steel-300:   #A6ACB2;
  --steel-100:   #D7DBDF;

  /* --- Yumuşak nötr yüzeyler --- */
  --ink:         #1B2A3A;
  --ink-soft:    #51606F;
  --bg:          #ffffff;
  --bg-soft:     #F4F6F8;   /* yumuşak bölüm zemini */
  --bg-warm:     #EEF1F4;
  --border:      #E5EAEF;

  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(10,39,71,.05);
  --shadow-md:   0 10px 30px rgba(10,39,71,.07);
  --maxw:        1160px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { line-height: 1.16; color: var(--navy); font-weight: 800; letter-spacing: -.018em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.45rem); }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.32rem); }
p  { color: var(--ink-soft); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.75rem, 8.5vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #cdd6e0; }

.section-head { max-width: 740px; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: .95rem; font-size: 1.07rem; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.55rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 1rem; border: 1.5px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(31,93,158,.28); }
.btn--primary:hover { background: var(--accent-700); box-shadow: 0 8px 22px rgba(31,93,158,.34); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--steel-100); }
.btn--ghost:hover { border-color: var(--navy); background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef2f5; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn svg { width: 19px; height: 19px; }

/* --- Header / Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--navy); font-size: 1.16rem; letter-spacing: -.02em; }
.brand img { height: 50px; width: auto; }
.brand .brand-fallback { display: inline-flex; align-items: baseline; }
.brand .b-3b { color: var(--accent); }
.brand .b-sub { font-size: .66rem; font-weight: 600; color: var(--steel); letter-spacing: .04em; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { padding: .55rem .85rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink-soft); font-size: .97rem; transition: color .15s var(--ease), background .15s var(--ease); }
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); font-size: .97rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--border); border-radius: var(--radius-sm); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

/* --- Hero (full-bleed gerçek foto) --- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(7,32,59,.96) 0%, rgba(8,33,60,.86) 40%, rgba(10,39,71,.55) 75%, rgba(10,39,71,.32) 100%),
    linear-gradient(0deg, rgba(7,24,44,.55), transparent 40%);
}
.hero-inner { padding-block: clamp(4rem, 11vw, 8rem); max-width: 660px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(31,93,158,.16); color: #b9d2ef;
  border: 1px solid rgba(31,93,158,.34);
  padding: .42rem .95rem; border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.hero-tag svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: #8fb8e8; }
.hero-slogan { font-size: clamp(1.08rem, 2vw, 1.28rem); color: #d4dde6; margin-top: 1.2rem; max-width: 46ch; font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero-trust .ht { display: flex; flex-direction: column; }
.hero-trust .ht b { font-size: 1.55rem; color: #fff; font-weight: 800; letter-spacing: -.01em; }
.hero-trust .ht span { font-size: .84rem; color: #a9b8c8; }

/* --- Hero: animasyonlu teknik diyagram (iki kolon) --- */
.hero--diagram { background: radial-gradient(120% 120% at 80% 10%, #123a63 0%, #0A2747 45%, #07203B 100%); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3.25rem, 7vw, 6rem); }
.hero-diagram-wrap { position: relative; }
.anim-stage { max-width: 580px; margin: 0 auto; }
.hero-diagram-wrap svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 50px rgba(0,0,0,.35)); }
.hero-cap { margin-top: 1rem; text-align: center; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #8ea2b8; }

/* katman dolguları */
.dg-core { fill: url(#gCore); }
.dg-insul { fill: url(#gInsul); }
.dg-jacket { fill: url(#gJacket); }
.dg-band { fill: #5b6675; opacity: .55; }
.dg-bandhi { stroke: #eef3f8; stroke-width: 1; opacity: .35; }
.dg-legend-t { fill: #cdd9e6; font-size: 15px; font-weight: 600; }
.dg-leg-line { stroke: rgba(255,255,255,.18); stroke-width: 1.5; }

/* animasyon — sürekli döngü (12s): izolasyon öncesi/sonrası + enerji tasarrufu */
@keyframes dgInsul  { 0%,16% { clip-path: inset(0 100% 0 0); opacity:1; } 28% { clip-path: inset(0 0 0 0); } 86% { clip-path: inset(0 0 0 0); opacity:1; } 93%,100% { clip-path: inset(0 0 0 0); opacity:0; } }
@keyframes dgJacket { 0%,28% { clip-path: inset(0 100% 0 0); opacity:1; } 42% { clip-path: inset(0 0 0 0); } 85% { clip-path: inset(0 0 0 0); opacity:1; } 92%,100% { clip-path: inset(0 0 0 0); opacity:0; } }
@keyframes dgBand   { 0%,44% { opacity:0; } 52%,86% { opacity:1; } 92%,100% { opacity:0; } }
@keyframes dgLegend { 0% { opacity:0; } 12%,100% { opacity:1; } }
@keyframes dgShimmer { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
@keyframes dgHeatRise { 0% { opacity:0; transform: translateY(10px); } 30% { opacity:.95; } 100% { opacity:0; transform: translateY(-18px); } }
@keyframes dgHeatEnv { 0%,36% { opacity:1; } 46% { opacity:0; } 90% { opacity:0; } 97%,100% { opacity:1; } }
@keyframes dgGlowEnv { 0%,46% { opacity:0; } 56%,86% { opacity:.85; } 93%,100% { opacity:0; } }
@keyframes dgGlowPulse { 0%,100% { transform: scale(.9); } 50% { transform: scale(1.12); } }
@keyframes dgBefore { 0%,34% { opacity:1; } 44% { opacity:0; } 92% { opacity:0; } 98%,100% { opacity:1; } }
@keyframes dgAfter  { 0%,48% { opacity:0; } 58%,86% { opacity:1; } 93%,100% { opacity:0; } }
@keyframes dgLoss   { 0%,40% { transform: scaleX(1); fill:#e0492e; } 58% { transform: scaleX(.26); fill:#37b56a; } 86% { transform: scaleX(.26); fill:#37b56a; } 97%,100% { transform: scaleX(1); fill:#e0492e; } }

.loop-insul  { animation: dgInsul 12s linear infinite; }
.loop-jacket { animation: dgJacket 12s linear infinite; }
.loop-band   { opacity: 0; animation: dgBand 12s linear infinite; }
.an-legend   { opacity: 0; animation: dgLegend 12s linear infinite; }
.an-shimmer  { animation: dgShimmer 3.2s linear infinite; }
.heat-escape { animation: dgHeatEnv 12s linear infinite; }
.heat-escape .arr { transform-box: fill-box; transform-origin: center; animation: dgHeatRise 1.8s ease-out infinite; }
.core-glow   { transform-box: fill-box; transform-origin: center; opacity: 0; animation: dgGlowEnv 12s linear infinite, dgGlowPulse 2.6s ease-in-out infinite; }
.an-before   { animation: dgBefore 12s linear infinite; }
.an-after    { opacity: 0; animation: dgAfter 12s linear infinite; }
.loss-fill   { transform-box: fill-box; transform-origin: left center; animation: dgLoss 12s linear infinite; }
.dg-chip-t   { font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.dg-meter-t  { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: #9fb0c2; }

@media (prefers-reduced-motion: reduce) {
  .loop-insul, .loop-jacket, .loop-band, .an-legend, .an-after { animation: none !important; opacity: 1 !important; clip-path: none !important; }
  .an-shimmer, .heat-escape, .an-before { display: none; }
  .core-glow { animation: none !important; opacity: .8 !important; }
  .dg-meter-fill { animation: none !important; transform: scaleX(.26); background: #37b56a; }
}

/* koyu zeminde logo plakası (hero + footer) */
.logo-plate { display: inline-flex; background: #fff; padding: .4rem .6rem; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.logo-plate img { display: block; height: 40px; width: auto; max-width: none; }
.hero-logo { margin-bottom: 1.4rem; padding: .5rem .75rem; border-radius: 11px; }
.hero-logo img { height: 48px; }
.site-footer .logo-plate { margin-bottom: .9rem; }
.site-footer .logo-plate img { height: 40px; }

/* diyagram altı okunabilir HTML metinleri (animasyonla senkron) */
.dg-status { position: relative; height: 1.7em; margin-top: 1.1rem; }
.dg-status span { position: absolute; inset: 0; text-align: center; font-weight: 700; font-size: 1rem; }
.dg-st--warn { color: #ff9a5c; }
.dg-st--ok { color: #5fd897; }
.dg-meter { display: flex; align-items: center; gap: .65rem; max-width: 330px; margin: .55rem auto 0; }
.dg-meter-l { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: #9fb0c2; white-space: nowrap; }
.dg-meter-track { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
.dg-meter-fill { display: block; height: 100%; width: 100%; border-radius: 4px; transform-origin: left center; background: #e0492e; animation: dgLossH 12s linear infinite; }
.dg-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; margin-top: 1rem; }
.dg-legend li { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: #cdd9e6; }
.dg-legend i { width: 15px; height: 11px; border-radius: 3px; display: inline-block; }
@keyframes dgLossH { 0%,40% { transform: scaleX(1); background: #e0492e; } 58% { transform: scaleX(.26); background: #37b56a; } 86% { transform: scaleX(.26); background: #37b56a; } 97%,100% { transform: scaleX(1); background: #e0492e; } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-diagram-wrap { max-width: 520px; margin-inline: auto; order: 2; }
}

/* --- Service cards (özgün: index no + üst hairline) --- */
.cards-soft { counter-reset: card; }
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  height: 100%;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { border-color: var(--steel-100); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card-no { position: absolute; top: 1.2rem; right: 1.4rem; font-size: .82rem; font-weight: 700; color: var(--steel-300); letter-spacing: .05em; }
.card-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; }
.card .card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 700; color: var(--accent-700); font-size: .92rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .15s var(--ease); }
.card:hover .card-link svg { transform: translateX(3px); }

.service-row { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: start; }
.service-row .card-icon { margin-bottom: 0; }

/* --- Feature (neden biz) --- */
.feature { display: flex; gap: 1.05rem; align-items: flex-start; }
.feature .fi { flex: none; width: 48px; height: 48px; border-radius: 12px; background: rgba(31,93,158,.1); color: var(--accent-700); display: flex; align-items: center; justify-content: center; }
.feature .fi svg { width: 24px; height: 24px; }
.feature .fi b { font-weight: 800; font-size: 1.05rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { font-size: .96rem; }
.section--navy .feature .fi { background: rgba(31,93,158,.22); color: #a9c8ec; }

/* --- Gallery --- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); border: 1px solid var(--border); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gi-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.1rem; background: linear-gradient(transparent 42%, rgba(7,24,44,.86)); opacity: 0; transition: opacity .28s var(--ease); color: #fff; }
.gallery-item:hover .gi-overlay { opacity: 1; }
.gi-overlay b { font-size: 1.02rem; }
.gi-overlay span { display: block; font-size: .82rem; color: #c8d2de; }

.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.ba-grid figure { position: relative; margin: 0; aspect-ratio: 3/2; background: var(--bg-soft); }
.ba-grid img { width: 100%; height: 100%; object-fit: cover; }
.ba-grid figcaption { position: absolute; top: .8rem; left: .8rem; background: rgba(7,24,44,.85); color: #fff; font-size: .74rem; font-weight: 700; padding: .32rem .7rem; border-radius: 6px; letter-spacing: .04em; }
.ba-grid figure:last-child figcaption { background: var(--accent); }

/* --- CTA band --- */
.cta-band { background: linear-gradient(115deg, var(--navy) 0%, var(--navy-700) 100%); border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1fr auto; gap: 1.8rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d2de; margin-top: .65rem; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-info .ci-item { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--border); }
.contact-info .ci-item:last-child { border-bottom: 0; }
.contact-info .ci-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent-700); }
.contact-info .ci-icon svg { width: 21px; height: 21px; }
.contact-info .ci-item b { display: block; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.contact-info .ci-item a, .contact-info .ci-item span { color: var(--ink-soft); font-size: 1.02rem; }
.contact-info .ci-item a:hover { color: var(--accent-700); }

.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--shadow-md); }
.form .field { margin-bottom: 1.15rem; }
.form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .45rem; }
.form input, .form select, .form textarea { width: 100%; padding: .85rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,93,158,.14); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--steel); margin-top: .85rem; text-align: center; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe, .map-embed .map-ph { width: 100%; height: 360px; border: 0; display: block; }
.map-ph { background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--steel); text-align: center; }

/* --- Page hero (inner) --- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.6rem, 6vw, 4.2rem); position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c8d2de; margin-top: .75rem; max-width: 62ch; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: #9fb0c2; margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent); }

/* --- Footer --- */
.site-footer { background: var(--navy); color: #c8d2de; padding-block: clamp(2.6rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.15rem; }
.site-footer .f-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .85rem; display: inline-block; }
.site-footer .f-brand .b-3b { color: var(--accent); }
.site-footer p { font-size: .95rem; color: #9fb0c2; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .95rem; color: #c8d2de; transition: color .15s var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .75rem; font-size: .95rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .85rem; color: #7d8ea0; }
.footer-credit a { display: inline-block; line-height: 0; transition: opacity .2s var(--ease); }
.footer-credit a:hover { opacity: .85; }
.footer-credit img { display: block; height: 45px; width: auto; }

/* --- Floating WhatsApp --- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* --- Lightbox --- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,17,28,.93); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; display: flex; align-items: center; justify-content: center; }
.lightbox-close svg { width: 26px; height: 26px; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: .6rem 1rem 1rem; box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { padding: .9rem .6rem; border-bottom: 1px solid var(--bg-warm); font-size: 1.05rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-trust { gap: 1.4rem; }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item:hover img { transform: none; }
}
