/* ============================================================
   Herrería Y Construcción -ELITE- — Hoja de estilos principal
   ============================================================
   Paleta industrial de forja: carbón / acero / naranja fundido.
   Sin dependencias de build. Tailwind no se usa; CSS plano.
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --bg:           #fafaf9;
  --bg-dark:      #0d0b09;
  --bg-steel:     #1a1714;
  --bg-zinc:      #18181b;
  --fg:           #1c1917;
  --fg-light:     #fafaf9;
  --fg-muted:     #57534e;
  --fg-dim:       #a8a29e;
  --border:       #e7e5e4;
  --border-dark:  rgba(255,255,255,.1);
  --accent:       #f97316; /* orange-500 */
  --accent-dark:  #ea580c; /* orange-600 */
  --accent-soft:  rgba(249,115,22,.12);
  --green:        #16a34a;
  --red:          #dc2626;
  --radius:       8px;
  --radius-lg:    14px;
  --shadow:       0 4px 12px rgba(0,0,0,.06);
  --shadow-lg:    0 16px 40px rgba(0,0,0,.18);
  --maxw:         1200px;
  --font:         "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* accommodate single-row header */
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
svg { width: 1em; height: 1em; vertical-align: -0.125em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 112px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.on-dark { color: var(--accent); }

.h1, .h2, .h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
.h3 { font-size: 1.125rem; }
.lead { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--fg-muted); max-width: 60ch; }
.lead.on-dark { color: var(--fg-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .2s ease;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(249,115,22,.55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost-light {
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Header (single row on desktop: brand+nav left, actions right) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(13,11,9,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
}

/* Brand (logo + name) on the left */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Nav: takes the remaining space, items aligned left after brand */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  /* No border-top, no wrap — single row, items after brand */
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #e4e4e7;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-desktop a:hover { color: var(--accent); background: rgba(255,255,255,.06); }

/* Actions (lang switcher, phone, CTA, hamburger) on the right */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }

.brand-mark {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), #c2410c);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(194,65,12,.4);
  position: relative;
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; color: #fff; stroke-width: 2.5; }
.brand-mark::after { content:""; position:absolute; inset:0; border-radius:6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.brand-name {
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;          /* fuerza una sola línea */
  overflow: hidden;
  text-overflow: ellipsis;      /* si no cabe, corta con … */
  max-width: 200px;             /* limita el ancho del título */
}
@media (min-width: 640px) {
  .brand-name { font-size: 13px; max-width: 280px; }
}
@media (min-width: 1024px) {
  .brand-name { font-size: 14px; max-width: 360px; }
}
@media (min-width: 1280px) {
  .brand-name { font-size: 15px; max-width: 420px; }
}
.brand-name .accent { color: var(--accent); }
.brand-sub {
  display: none;
  font-size: 10px;
  color: #a8a29e;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
@media (min-width: 1024px) { .brand-sub { display: block; max-width: 360px; } }

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 8px 12px;
  transition: color .2s;
}
.header-phone:hover { color: var(--accent); }
@media (min-width: 768px) { .header-phone { display: inline-flex; } }

.btn-header-cta { display: none; }
@media (min-width: 640px) { .btn-header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: #fff;
  border-radius: 6px;
  transition: background .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-dark);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-header {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-dark);
  color: #fff;
  font-weight: 800;
}
.mobile-nav-close {
  color: #fff; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.1); }
.mobile-nav nav { padding: 16px 8px; overflow-y: auto; flex: 1; }
.mobile-nav nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #e4e4e7;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.mobile-nav nav a:hover { color: var(--accent); background: rgba(255,255,255,.05); }
.mobile-nav-foot {
  padding: 20px;
  border-top: 1px solid var(--border-dark);
  display: flex; flex-direction: column; gap: 12px;
}
.mobile-nav-foot a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.mobile-nav-foot a.sub { color: #d4d4d8; }

.backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 99;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.4) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-dark), transparent 40%, rgba(13,11,9,.7));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 96px; }
@media (min-width: 1024px) { .hero .container { padding-top: 110px; } /* single-row header clearance */ }
.hero-inner { max-width: 768px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(249,115,22,.4);
  background: var(--accent-soft);
  color: #fdba74;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #d4d4d8;
  max-width: 60ch;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 12px;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; gap: 16px; } }

.hero-trust {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  font-size: 14px; color: #d4d4d8;
}
.hero-trust .sep { width: 1px; height: 16px; background: rgba(255,255,255,.2); }
.hero-trust a:hover { color: var(--accent); }
.hero-trust svg { color: var(--accent); }

/* ---------- Stats ---------- */
.stats {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid > div {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
}
.stats-grid > div:last-child { border-right: 0; }
@media (min-width: 640px) {
  .stats-grid > div { text-align: left; padding: 36px 24px; }
}
.stats-grid > div:nth-child(2n) { border-right: 0; }
@media (min-width: 1024px) {
  .stats-grid > div:nth-child(2n) { border-right: 1px solid var(--border-dark); }
  .stats-grid > div:last-child { border-right: 0; }
}
.stat-value {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Services ---------- */
.services { background: var(--bg); }
.services-head { max-width: 768px; }
.services-head h2 { margin-top: 16px; }
.services-head .lead { margin-top: 20px; }

.services-grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.service-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f4;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 50%, transparent);
}
.service-icon {
  position: absolute; top: 12px; left: 12px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(249,115,22,.35);
}
.service-icon svg { width: 20px; height: 20px; }
.service-card h3 {
  position: absolute;
  bottom: 12px; left: 16px; right: 16px;
  color: #fff;
  font-size: 18px; font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.service-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.service-card-body p { font-size: 14px; color: #44403c; line-height: 1.6; }
.service-bullets { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 14px; color: #57534e;
}
.service-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.service-link {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--accent-dark);
  transition: color .2s;
}
.service-link:hover { color: var(--accent); }
.service-link svg { transition: transform .2s; }
.service-link:hover svg { transform: translateX(2px); }

.services-cta {
  margin-top: 56px;
  background: #18181b;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .services-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
}
.services-cta h3 { font-size: 22px; font-weight: 700; }
.services-cta p { color: #a8a29e; margin-top: 4px; }

/* ---------- Gallery ---------- */
.gallery { background: #0c0a09; color: #fff; position: relative; overflow: hidden; }
.gallery::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 24px 24px;
  opacity: .04;
  pointer-events: none;
}
.gallery .container { position: relative; }
.gallery-head { max-width: 768px; }
.gallery-head h2 { color: #fff; margin-top: 16px; }
.gallery-head .lead { color: #a8a29e; margin-top: 20px; }

.filters {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.filter-btn {
  padding: 8px 16px;
  font-size: 14px; font-weight: 500;
  color: #d4d4d8;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  transition: all .2s;
}
.filter-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(249,115,22,.35);
}

.gallery-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #18181b;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.15) 50%, transparent);
  opacity: .92;
}
.gallery-cap {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  transform: translateY(4px);
  transition: transform .25s ease;
}
.gallery-item:hover .gallery-cap { transform: translateY(0); }
.gallery-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border-radius: 4px;
}
.gallery-cap h3 {
  margin-top: 8px;
  color: #fff;
  font-size: 16px; font-weight: 700;
  line-height: 1.3;
}
.gallery-cap .loc {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #d4d4d8;
}
.gallery-cap .loc svg { color: var(--accent); width: 12px; height: 12px; }

.gallery-empty {
  margin-top: 40px;
  text-align: center;
  color: #a8a29e;
  padding: 40px 0;
}

/* ---------- Process ---------- */
.process { background: #fafaf9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-head { max-width: 768px; }
.process-head h2 { margin-top: 16px; }
.process-head .lead { margin-top: 20px; }

.process-grid {
  margin-top: 56px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.process-step { position: relative; }
.process-step .step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.process-step .step-card:hover { box-shadow: var(--shadow-lg); }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: #18181b; color: #fff;
  font-weight: 800; font-size: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.process-step h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.process-step p { margin-top: 8px; font-size: 14px; color: #57534e; line-height: 1.6; }

/* ---------- About ---------- */
.about { background: var(--bg); }
.about-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); gap: 64px; } }

.about-imgs { position: relative; }
.about-imgs .grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.about-imgs .col-span-2 { grid-column: span 2; }
.about-imgs img {
  width: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-imgs .tall { height: 400px; }
.about-imgs .short { height: 200px; }
.about-badge {
  position: absolute;
  right: 0; bottom: -24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 200px;
  box-shadow: 0 20px 40px rgba(194,65,12,.35);
}
@media (min-width: 640px) { .about-badge { right: 24px; } }
.about-badge .num { font-size: 36px; font-weight: 800; line-height: 1; }
.about-badge .txt { margin-top: 6px; font-size: 13px; font-weight: 500; line-height: 1.3; }

.about-text .eyebrow { color: var(--accent-dark); }
.about-text h2 { margin-top: 16px; }
.about-text p { margin-top: 16px; color: #57534e; font-size: 16px; line-height: 1.7; }

.about-caps {
  margin-top: 28px;
  display: grid; gap: 12px 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .about-caps { grid-template-columns: repeat(2, 1fr); } }
.about-caps li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #44403c;
}
.about-caps svg { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; stroke-width: 2.5; }

.about-badges { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.about-badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f5f5f4; color: #27272a;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
}
.about-badge-pill svg { color: var(--accent-dark); width: 16px; height: 16px; }

.about-contact {
  margin-top: 28px;
  font-size: 14px; color: #78716c;
}
.about-contact a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Blog ---------- */
.blog { background: #fafaf9; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blog-head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .blog-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.blog-head .lead { margin-top: 20px; }
.blog-grid {
  margin-top: 48px;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: #f5f5f4; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border-radius: 4px;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: #78716c;
}
.blog-meta svg { width: 12px; height: 12px; }
.blog-card h3 {
  margin-top: 12px; font-size: 18px; font-weight: 700;
  line-height: 1.3;
  transition: color .2s;
}
.blog-card:hover h3 { color: var(--accent-dark); }
.blog-card p {
  margin-top: 8px;
  font-size: 14px; color: #57534e; line-height: 1.6;
  flex: 1;
}
.blog-card-link {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--accent-dark);
}
.blog-card-link:hover { color: var(--accent); }

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-dark); color: #fff;
  position: relative; overflow: hidden;
}
.testimonials::before, .testimonials::after {
  content: ""; position: absolute;
  width: 384px; height: 384px;
  border-radius: 50%;
  background: rgba(249,115,22,.1);
  filter: blur(80px);
  pointer-events: none;
}
.testimonials::before { top: -160px; left: -160px; }
.testimonials::after  { bottom: -160px; right: -160px; }
.testimonials .container { position: relative; }
.testimonials-head { max-width: 768px; }
.testimonials-head h2 { color: #fff; margin-top: 16px; }
.testimonials-head .lead { color: #a8a29e; margin-top: 20px; }

.testimonials-grid {
  margin-top: 56px;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.tcard {
  position: relative;
  background: rgba(24,24,27,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.tcard .quote-icon { color: rgba(249,115,22,.6); width: 28px; height: 28px; margin-bottom: 12px; }
.tcard .stars { display: flex; gap: 2px; margin-bottom: 16px; }
.tcard .stars svg { width: 16px; height: 16px; color: var(--accent); fill: var(--accent); }
.tcard blockquote {
  flex: 1;
  color: #e4e4e7;
  font-size: 15px;
  line-height: 1.6;
  quotes: "\201C" "\201D";
}
.tcard blockquote::before { content: open-quote; }
.tcard blockquote::after  { content: close-quote; }
.tcard figcaption {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}
.tcard .name { font-weight: 700; color: #fff; }
.tcard .role { font-size: 12px; color: #a8a29e; margin-top: 2px; }

/* ---------- Quote / Contact ---------- */
.contact {
  background: #0c0a09; color: #fff;
  position: relative; overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0 0 0 auto;
  width: 50%; height: 100%;
  z-index: 0;
}
@media (max-width: 1023px) { .contact-bg { display: none; } }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg-dark), rgba(12,10,9,.85) 60%, rgba(12,10,9,.4));
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 64px; } }

.contact-info h2 { color: #fff; margin-top: 16px; }
.contact-info h2 .accent { color: var(--accent); display: block; }
.contact-info > .lead { color: #a8a29e; margin-top: 20px; }

.contact-items { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-label { font-size: 11px; color: #78716c; text-transform: uppercase; letter-spacing: .08em; }
.contact-item-val { margin-top: 4px; }
.contact-item-val a { color: #fff; font-weight: 600; transition: color .2s; }
.contact-item-val a:hover { color: var(--accent); }
.contact-item-val .phones { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 640px) { .contact-item-val .phones { flex-direction: row; gap: 12px; } }
.contact-item-val ul { font-size: 14px; color: #d4d4d8; }
.contact-item-val ul li { display: flex; gap: 12px; padding: 2px 0; }
.contact-item-val ul .day { color: #fff; font-weight: 500; width: 128px; display: inline-block; }

/* Form card */
.quote-form-card {
  background: #fff; color: var(--fg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 640px) { .quote-form-card { padding: 32px; } }
.quote-form-card h3 { font-size: 20px; font-weight: 700; }
.quote-form-card .sub { font-size: 14px; color: #78716c; margin-top: 4px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, 1fr); } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: #27272a; }
.field label .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
  color: var(--fg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: var(--red); font-size: 12px; min-height: 14px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }

.form-note {
  margin-top: 16px;
  font-size: 12px; color: #78716c; text-align: center;
}

.form-success {
  padding: 40px 0;
  text-align: center;
}
.form-success .ok-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: #dcfce7; color: var(--green);
  border-radius: 50%;
}
.form-success .ok-icon svg { width: 36px; height: 36px; }
.form-success h3 { margin-top: 20px; font-size: 24px; font-weight: 800; color: var(--fg); }
.form-success p { margin-top: 8px; color: #57534e; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: #a8a29e; }
.site-footer .container { padding-top: 56px; padding-bottom: 56px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 48px; } }

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #a8a29e; line-height: 1.6; }
.footer-social { margin-top: 20px; display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05);
  color: #d4d4d8;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }

.footer-col h3 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: #fff;
}
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .with-icon { display: inline-flex; align-items: center; gap: 10px; }
.footer-col .with-icon svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.footer-col ul.hours li { display: flex; gap: 10px; align-items: flex-start; }
.footer-col ul.hours .day { color: #e4e4e7; font-weight: 500; }
.footer-col ul.hours .time { color: #78716c; }
.footer-col ul.hours svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-urgent {
  margin-top: 20px;
  background: var(--accent-soft);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 12px;
  color: #fdba74;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; color: #78716c;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom .legal a:hover { color: var(--accent); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37,211,102,.5); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ---------- Misc ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Language switcher dropdown
   ============================================================ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] {
  background: rgba(255,255,255,.12);
  border-color: var(--accent);
}
.lang-flag-current, .lang-flag {
  width: 22px;
  height: 15px;
  display: inline-block;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-flag-current svg, .lang-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-code {
  letter-spacing: .05em;
}
.lang-caret {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}
.lang-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #18181b;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  padding: 6px;
  z-index: 70;
  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li { list-style: none; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #d4d4d8;
  font-size: 14px;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.lang-menu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.lang-menu a.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.lang-menu .lang-name { flex: 1; }

/* Mobile language switch inline (in mobile nav footer) */
.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-lang a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d8;
  border: 1px solid rgba(255,255,255,.1);
}
.mobile-lang a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.mobile-lang .lang-flag {
  width: 18px;
  height: 12px;
}
