/* ─── IDROTOP v2 — Serious Design System ─── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  /* palette — dark, serious */
  --bg:        #0b0b0b;
  --surface:   #141414;
  --surface-2: #1c1c1c;
  --border:    #272727;
  --border-2:  #333;

  /* text */
  --text:      #f0ede8;
  --text-mid:  #b0aca6;
  --text-muted:#6e6a65;

  /* accent — muted amber */
  --amber:     #c8960c;
  --amber-bg:  rgba(200,150,12,0.08);
  --yellow:    #FECC0B;  /* kept for main CTAs only */

  /* brand colors */
  --ariston-red: #d32f2f;
  --ferroli-orange: #e65100;

  /* layout */
  --max-w: 1100px;
  --radius: 5px;
  --radius-lg: 10px;
  --t: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 80px 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 14px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-primary { background: var(--yellow); color: #0b0b0b; border-color: var(--yellow); }
.btn-primary:hover { background: #ffd63a; box-shadow: 0 6px 24px rgba(254,204,11,0.25); }

.btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-dark:hover { border-color: var(--amber); }

.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1db554; box-shadow: 0 6px 24px rgba(37,211,102,0.2); }

.btn-ghost { background: transparent; color: var(--text-mid); border-color: var(--border-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-2); }

.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ─── ICONS (inline SVG helper) ─── */
.icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-bg);
  border: 1px solid rgba(200,150,12,0.2);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.icon-wrap svg { width: 22px; height: 22px; }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,11,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; height: 62px; gap: 32px;
}
.navbar-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--yellow); letter-spacing: 0.5px;
  flex-shrink: 0;
}
.navbar-links {
  display: flex; align-items: center; gap: 28px; list-style: none; flex: 1;
}
.navbar-links a {
  color: var(--text-mid); font-size: 14px; font-weight: 500;
  transition: color var(--t);
}
.navbar-links a:hover, .navbar-links a.active { color: var(--text); }
.navbar-cta { display: flex; align-items: center; gap: 10px; }
.navbar-social { display: flex; align-items: center; gap: 12px; }
.navbar-social a { color: var(--text-muted); transition: color var(--t); }
.navbar-social a:hover { color: var(--yellow); }

.hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-mid); border-radius: 1px; transition: all 0.3s; }

.mobile-nav {
  display: none; flex-direction: column;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 28px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-mid); font-size: 15px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn { margin-top: 14px; justify-content: center; }

/* ─── URGENCY STRIP ─── */
.urgency-strip {
  background: #7f1d1d;
  border-bottom: 1px solid #991b1b;
  text-align: center; padding: 9px 24px;
  font-size: 13px; font-weight: 500; color: #fecaca;
}
.urgency-strip a { color: #fff; font-weight: 600; text-decoration: underline; }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80&fit=crop');
  background-size: cover; background-position: center;
  background-color: #1a1a1a; /* fallback */
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,11,11,0.92) 0%, rgba(11,11,11,0.75) 50%, rgba(11,11,11,0.55) 100%);
}
.hero .container {
  position: relative; z-index: 1;
  max-width: 680px; padding-top: 60px; padding-bottom: 60px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 24px;
}
.hero-label::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--amber);
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--text);
  margin-bottom: 18px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-sub {
  font-size: 16px; color: var(--text-mid);
  margin-bottom: 36px; max-width: 520px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-mid);
}
.hero-trust-item svg { color: var(--amber); }

/* ─── SECTION HEADERS ─── */
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--amber); }
.section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; color: var(--text); }
.section-sub { font-size: 15px; color: var(--text-mid); max-width: 500px; }

/* ─── SERVICES SECTION ─── */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.service-item {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background var(--t);
}
.service-item:hover { background: var(--surface-2); }
.service-item h3 { font-size: 17px; color: var(--text); }
.service-item p { font-size: 14px; color: var(--text-mid); line-height: 1.6; flex: 1; }
.service-item a {
  font-size: 13px; font-weight: 600; color: var(--amber);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--t);
}
.service-item:hover a { gap: 8px; }

/* ─── BRANDS ─── */
.brands-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.brands-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); text-align: center; margin-bottom: 24px; font-weight: 600;
}
.brands-row {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap;
}
.brand-tag {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 12px; font-weight: 600;
  color: var(--text-mid); letter-spacing: 0.5px;
  transition: border-color var(--t), color var(--t);
}
.brand-tag:hover { border-color: var(--amber); color: var(--text); }

/* ─── WHY US ─── */
.why-section { background: var(--surface); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.why-item {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  transition: border-color var(--t);
}
.why-item:hover { border-color: var(--amber); }
.why-item h3 { font-size: 16px; margin: 14px 0 8px; }
.why-item p { font-size: 13px; color: var(--text-mid); }

/* ─── MAINTENANCE BAND ─── */
.maint-band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.maint-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.maint-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.maint-band h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.maint-band p { font-size: 15px; color: var(--text-mid); margin-bottom: 24px; max-width: 500px; }
.maint-list {
  display: flex; flex-direction: column; gap: 10px; list-style: none;
}
.maint-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-mid);
}
.maint-list li svg { color: var(--amber); flex-shrink: 0; }
.maint-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }

/* ─── CTA FINAL ─── */
.cta-band {
  background: var(--yellow);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 42px); color: #0b0b0b; margin-bottom: 12px; }
.cta-band p { font-size: 15px; color: rgba(0,0,0,0.6); margin-bottom: 32px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #0b0b0b; color: var(--yellow); border-color: #0b0b0b; }
.cta-band .btn-primary:hover { background: #1a1a1a; }

/* ─── SERVICE LIST (inner pages) ─── */
.service-list { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: center; padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.svc-row:first-child { border-top: 1px solid var(--border); }
.svc-row h3 { font-size: 18px; margin-bottom: 6px; }
.svc-row p { font-size: 14px; color: var(--text-mid); max-width: 540px; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--text-mid); max-width: 520px; margin-bottom: 28px; }
.page-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── PRODUCT CARDS ─── */
.brand-section { padding: 64px 0; }
.brand-section + .brand-section { border-top: 1px solid var(--border); padding-top: 64px; }

.brand-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 36px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.brand-logo-box {
  padding: 10px 20px; border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: 0.5px; color: #fff;
}
.brand-logo-box.ariston { background: linear-gradient(135deg, #c62828, #e53935); }
.brand-logo-box.ferroli { background: linear-gradient(135deg, #bf360c, #f4511e); }
.brand-header-text h2 { font-size: 22px; }
.brand-header-text p { font-size: 14px; color: var(--text-mid); }
.brand-header a { margin-left: auto; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t), transform var(--t);
}
.product-card:hover { border-color: var(--amber); transform: translateY(-3px); }
.product-card-head {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.product-card-head h3 { font-size: 16px; margin-bottom: 4px; }
.product-card-head .sub { font-size: 12px; color: var(--text-muted); }
.energy-badge {
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 3px; letter-spacing: 0.5px;
}
.energy-badge.a-plus { background: #065f46; color: #6ee7b7; }
.energy-badge.a-class { background: #1e3a5f; color: #93c5fd; }

.product-specs { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--text-muted); }
.spec-val { color: var(--text); font-weight: 500; text-align: right; }

.product-card-foot {
  padding: 14px 20px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.product-card-foot a { font-size: 13px; color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ─── CONTACT SECTION ─── */
.contact-section { background: var(--surface); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; margin-top: 48px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 11px 14px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14px;
  color: var(--text); transition: border-color var(--t); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
}
.form-card h2 { font-size: 20px; margin-bottom: 6px; }
.form-card .sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-muted); font-size: 12px;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
@media (max-width: 768px) { .form-card { padding: 24px 20px; } }
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; gap: 0; } }
.contact-info h3 { font-size: 20px; margin-bottom: 24px; }
.info-block { display: flex; gap: 14px; margin-bottom: 22px; }
.info-block-icon { color: var(--amber); margin-top: 2px; flex-shrink: 0; }
.info-block strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--text); }
.info-block span { font-size: 14px; color: var(--text-mid); }

/* ─── FOOTER ─── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; color: var(--yellow); margin-bottom: 10px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: border-color var(--t), color var(--t);
}
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-col h4 { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color var(--t); }
.footer-col ul a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}

/* ─── FADE IN ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .navbar-links, .navbar-cta, .navbar-social { display: none; }
  .hamburger { display: flex; }
  section { padding: 56px 0; }
  .hero { min-height: auto; padding: 64px 0; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-trust { gap: 12px 16px; margin-top: 36px; padding-top: 24px; }
  .hero-trust-item { font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .maint-band { padding: 56px 0; }
  .maint-inner { grid-template-columns: 1fr; gap: 28px; }
  .maint-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .maint-actions .btn { flex: 1 1 0; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .brand-section { padding: 48px 0; }
  .brand-section + .brand-section { padding-top: 48px; }
  .brand-header { flex-wrap: wrap; gap: 12px; padding-bottom: 18px; margin-bottom: 24px; }
  .brand-header a { margin-left: auto; order: 2; }
  .brand-header-text { flex: 1 1 100%; order: 3; }
  .brand-header-text h2 { font-size: 18px; }
  .page-hero { padding: 48px 0; }
  .page-hero p { margin-bottom: 22px; }
  .cta-band { padding: 56px 0; }
  /* Prevent iOS auto-zoom on input focus */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions, .page-hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .page-hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
  .urgency-strip { font-size: 12px; padding: 8px 16px; line-height: 1.45; }
  .navbar .container { gap: 14px; height: 56px; }
  .navbar-logo { font-size: 18px; }
  .product-card-head { padding: 16px; }
  .product-specs { padding: 12px 16px; }
  .product-card-foot { padding: 12px 16px; }
  .brand-logo-box { padding: 8px 14px; font-size: 16px; }
}
