/* ============================================
   REASSURITY INC. — Custom Site Styles
   Elegant, corporate, refined aesthetic
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-mid: #162040;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --white: #ffffff;
  --off-white: #f5f3ef;
  --gray: #888888;
  --text: #2a2a2a;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--navy);
  padding: 0.5rem 2rem;
}
.top-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}
.top-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.top-nav a:hover { color: var(--gold-light); }

/* ---- MAIN HEADER ---- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 75px;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.logo-reshape {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.logo-reshape em { font-style: italic; color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: nowrap;
}
.main-nav > a, .dropdown-toggle {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
}
.main-nav > a:hover, .dropdown-toggle:hover { color: var(--gold); }
.arrow { font-size: 10px; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  min-width: 200px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
}
.dropdown-menu.wide-menu {
  display: flex;
  gap: 0;
  min-width: 560px;
  padding: 1.5rem;
}
.dropdown-col { flex: 1; padding: 0 1rem; }
.dropdown-col:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.08); }
.dropdown-col h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.dropdown-menu a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.03em;
  transition: color 0.2s, padding 0.2s;
}
.dropdown-menu.wide-menu a { padding: 0.35rem 0; }
.dropdown-menu a:hover { color: var(--gold); }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.btn-portal {
  background: var(--navy);
  color: var(--gold) !important;
  padding: 0.6rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-portal:hover { background: var(--gold); color: var(--white) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
  margin-left: auto;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.8);
  padding: 0.6rem 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-slides { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,22,40,0.82) 40%, rgba(10,22,40,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 700px;
  color: var(--white);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-content h1 em {
  display: block;
  font-style: italic;
  color: var(--gold-light);
}
.hero-quote {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.hero-attr {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.btn-hero {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 0.9rem 2rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.btn-hero:hover { background: var(--gold-light); transform: translateY(-2px); }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active { background: var(--gold); border-color: var(--gold); }

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.dark-section { background: var(--navy); color: var(--white); }
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.section-label.light { color: var(--gold-light); }
.dark-section h2, .dark-section h3 { color: var(--white); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
p { margin-bottom: 1rem; color: #555; }
.dark-section p { color: rgba(255,255,255,0.7); }

/* ABOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.col-image img { width: 100%; height: 500px; object-fit: cover; }

/* SOLUTIONS */
.solutions-section h2 { color: var(--white); text-align: center; margin-bottom: 2.5rem; }
.solutions-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
.solution-card { position: relative; overflow: hidden; }
.solution-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.solution-card:hover .solution-img { transform: scale(1.05); }
.solution-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
}
.solution-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 2;
  transform: translateY(2rem);
  transition: transform 0.3s ease;
}
.solution-card:hover .solution-info { transform: translateY(0); }
.solution-info h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.25rem; }
.solution-info p { font-size: 12px; color: rgba(255,255,255,0.7); margin: 0; }

/* FOCUS */
.focus-section { background: var(--off-white); }
.focus-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.focus-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.focus-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.focus-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.focus-item span { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--navy); }

/* EXPERTISE */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.expertise-card { padding: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.expertise-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.expertise-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.75rem; }

/* VISION QUOTE */
.vision-quote-section { background: var(--off-white); text-align: center; }
.centered { text-align: center; max-width: 700px; margin: 0 auto; }
.vision-quote-section blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.5;
  margin: 1.5rem 0 1rem;
  position: relative;
}
.vision-quote-section blockquote::before, .vision-quote-section blockquote::after {
  content: '"';
  color: var(--gold);
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.4em;
}
cite { display: block; font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }

/* WARRANTY */
.warranty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.warranty-card { overflow: hidden; border: 1px solid rgba(0,0,0,0.08); transition: box-shadow 0.3s; }
.warranty-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.warranty-img { height: 220px; background-size: cover; background-position: center; }
.warranty-text { padding: 1.5rem; }
.warranty-text h3 { font-size: 1.2rem; }
.warranty-text p { font-size: 13px; color: #666; }

/* SPECIFIC WARRANTY */
.specific-warranty h2 { color: var(--white); }
.warranty-specific-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.spec-card { overflow: hidden; cursor: pointer; }
.spec-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  filter: brightness(0.8);
}
.spec-card:hover .spec-img { transform: scale(1.05); filter: brightness(1); }
.spec-card span {
  display: block;
  padding: 0.75rem;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-align: center;
  background: var(--navy-mid);
}

/* BUTTONS */
.btn-outline-light {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.75rem 2rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline-light:hover { background: var(--gold); color: var(--white); }
.btn-dark {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-dark:hover { background: var(--gold); }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.footer-logo-text em { font-style: italic; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-contact h4, .footer-links h4 {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-contact p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 0.4rem; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-links { display: flex; flex-direction: column; gap: 0.1rem; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 0;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---- INNER PAGE HERO ---- */
.page-hero {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.9) 30%, rgba(10,22,40,0.4) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 4rem;
  color: var(--white);
}
.page-hero-content .section-label { color: var(--gold-light); }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
}

/* ---- INNER PAGE CONTENT ---- */
.page-content { padding: 4rem 0; }
.page-content .container { max-width: 900px; }
.page-content h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.page-content h3 { font-size: 1.2rem; color: var(--gold); margin-top: 2rem; }
.page-content p { font-size: 15px; line-height: 1.9; color: #555; }

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--navy);
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  font-weight: 600;
}
.stat-item p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }

/* ============================================
   RESPONSIVE — FULL BREAKPOINT SYSTEM
   1200px → 1024px → 768px → 480px → 360px
   ============================================ */

/* ---- 1200px: Large tablet / small desktop ---- */
@media (max-width: 1200px) {
  .container { padding: 0 1.5rem; }
  .header-inner { padding: 0 1.5rem; gap: 1rem; }
  .main-nav > a, .dropdown-toggle { padding: 0.5rem 0.5rem; font-size: 11px; }
  .footer-inner { padding: 3rem 1.5rem 2rem; gap: 2rem; }
}

/* ---- 1024px: Tablet landscape ---- */
@media (max-width: 1024px) {
  /* Header */
  .main-nav > a, .dropdown-toggle { padding: 0.5rem 0.4rem; font-size: 10.5px; letter-spacing: 0.05em; }
  .btn-portal { padding: 0.55rem 0.9rem; font-size: 10px; }

  /* Grids */
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
  .warranty-specific-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .two-col { gap: 2.5rem; }
  .col-image img { height: 420px; }

  /* Hero */
  .hero { height: 80vh; min-height: 550px; }
  .hero-content { max-width: 580px; padding: 0 6%; }

  /* Footer */
  .footer-inner { grid-template-columns: 1.5fr 1.5fr 1fr 1fr; gap: 2rem; }

  /* Dropdown wide menu position fix */
  .dropdown:last-of-type .dropdown-menu,
  .dropdown:nth-last-of-type(2) .dropdown-menu.wide-menu {
    left: auto;
    right: 0;
  }
}

/* ---- 768px: Tablet portrait / large mobile ---- */
@media (max-width: 768px) {
  /* Typography */
  body { font-size: 14px; }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: 1rem; }
  h3 { font-size: 1.15rem; }

  /* Top bar */
  .top-bar { display: none; }

  /* Header */
  .main-nav { display: none; }
  .btn-portal { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; padding: 0.5rem; }
  .header-inner { height: 65px; padding: 0 1.25rem; }
  .logo-reshape { font-size: 11px; }
  .logo img { height: 38px !important; }

  /* Mobile nav improved */
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .mobile-nav.open {
    display: flex;
    padding: 0.5rem 0 1rem;
    max-height: 100vh;
  }
  .mobile-nav a {
    color: rgba(255,255,255,0.85);
    padding: 0.8rem 1.5rem;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    letter-spacing: 0.04em;
  }
  .mobile-nav a:hover { color: var(--gold-light); background: rgba(255,255,255,0.04); }
  .mobile-nav .mobile-section-label {
    display: block;
    padding: 1rem 1.5rem 0.3rem;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
  }
  /* Portal link in mobile nav */
  .mobile-nav .mobile-portal {
    margin: 1rem 1.5rem 0;
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 0.7rem 1.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    border: none;
  }

  /* Hero */
  .hero { height: 75vh; min-height: 480px; }
  .hero-content { padding: 0 1.5rem; max-width: 100%; }
  .hero-content h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 1rem; }
  .hero-quote { font-size: 13px; }
  .hero-attr { font-size: 10px; margin-bottom: 1.5rem; }
  .btn-hero { padding: 0.75rem 1.5rem; font-size: 11px; }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }

  /* About */
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .col-text { order: 1; }
  .col-image { order: 2; }
  .col-image img { height: 260px; width: 100%; }

  /* Solutions */
  .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .solution-img { height: 200px; }
  .solution-info { transform: translateY(0); } /* always visible on touch */
  .solution-info h3 { font-size: 0.9rem; }

  /* Focus */
  .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .focus-header { margin-bottom: 2rem; }
  .focus-item { padding: 1.25rem 0.75rem; }
  .focus-icon { font-size: 1.6rem; }
  .focus-item span { font-size: 11px; }

  /* Expertise */
  .expertise-grid { grid-template-columns: 1fr; gap: 1rem; }
  .expertise-card { padding: 1.5rem; }
  .expertise-num { font-size: 2.2rem; }

  /* Vision quote */
  .centered { padding: 0 1rem; }

  /* Warranty */
  .warranty-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .warranty-img { height: 200px; }

  /* Specific warranty */
  .warranty-specific-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .spec-img { height: 160px; }
  .spec-card span { font-size: 11px; padding: 0.6rem; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; margin: 2rem 0; }
  .stat-item .stat-num { font-size: 2rem; }

  /* Page hero */
  .page-hero { height: 260px; }
  .page-hero-content { padding: 1.5rem; }
  .page-hero-content h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); }

  /* Page content */
  .page-content { padding: 2.5rem 0; }
  .page-content .container { max-width: 100%; }

  /* Contact form grid */
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 1.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.25rem;
  }
  .footer-legal { justify-content: center; }
}

/* ---- 480px: Mobile ---- */
@media (max-width: 480px) {
  /* Typography scale */
  body { font-size: 14px; }

  /* Header */
  .header-inner { height: 60px; padding: 0 1rem; gap: 0.5rem; }
  .logo { gap: 0.5rem; }
  .logo-reshape { display: none; } /* hide text, keep logo only */
  .logo img { height: 36px !important; }

  /* Hero */
  .hero { height: 88vh; min-height: 420px; }
  .hero-content { padding: 0 1.1rem; }
  .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); margin-bottom: 0.75rem; }
  .hero-quote { font-size: 12.5px; line-height: 1.7; }
  .hero-attr { font-size: 9.5px; margin-bottom: 1.25rem; }
  .btn-hero { padding: 0.7rem 1.25rem; font-size: 10.5px; }
  .hero-dots { bottom: 1.25rem; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
  .section-label { font-size: 9px; letter-spacing: 0.15em; }

  /* About image */
  .col-image img { height: 220px; }

  /* Solutions - single column */
  .solutions-grid { grid-template-columns: 1fr; gap: 2px; }
  .solution-img { height: 180px; }

  /* Focus - single column */
  .focus-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .focus-item { padding: 1rem 0.6rem; }
  .focus-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .focus-item span { font-size: 10.5px; }

  /* Warranty specific - 2 col on mobile */
  .warranty-specific-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .spec-img { height: 130px; }
  .spec-card span { font-size: 10px; padding: 0.5rem 0.3rem; letter-spacing: 0.04em; }

  /* Expertise */
  .expertise-card { padding: 1.25rem; }
  .expertise-num { font-size: 2rem; margin-bottom: 0.75rem; }

  /* Vision blockquote */
  .vision-quote-section blockquote { font-size: 1.2rem; }
  .vision-quote-section blockquote::before,
  .vision-quote-section blockquote::after { font-size: 2rem; }

  /* Warranty cards */
  .warranty-img { height: 170px; }
  .warranty-text { padding: 1.1rem; }
  .warranty-text h3 { font-size: 1.05rem; }
  .warranty-text p { font-size: 12.5px; }

  /* Stats */
  .stats-row { padding: 1.75rem 1rem; }
  .stat-item .stat-num { font-size: 1.8rem; }

  /* Page hero */
  .page-hero { height: 220px; }
  .page-hero-content { padding: 1.25rem; }
  .page-hero-content h1 { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Page content */
  .page-content h2 { font-size: 1.35rem; margin-top: 1.75rem; }
  .page-content h3 { font-size: 1.05rem; margin-top: 1.5rem; }
  .page-content p { font-size: 14px; line-height: 1.8; }

  /* Inline content images on inner pages */
  .page-content img { height: 200px !important; }

  /* Buttons */
  .btn-hero, .btn-dark, .btn-outline-light {
    padding: 0.75rem 1.25rem;
    font-size: 10.5px;
  }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem 1rem 1.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-contact h4, .footer-links h4 { margin-bottom: 0.85rem; }
}

/* ---- 360px: Small mobile ---- */
@media (max-width: 360px) {
  .hero { height: 90vh; min-height: 400px; }
  .hero-content h1 { font-size: 1.7rem; }

  .focus-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .warranty-specific-grid { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .spec-img { height: 110px; }

  .page-hero { height: 190px; }
  .page-hero-content h1 { font-size: 1.3rem; }

  .stats-row { padding: 1.5rem 0.75rem; }
  .stat-item .stat-num { font-size: 1.6rem; }
}

/* ---- Touch device: always show solution info ---- */
@media (hover: none) {
  .solution-info { transform: translateY(0) !important; }
  .solution-card:hover .solution-img { transform: none; }
  .focus-item:hover { transform: none; }
  .spec-card:hover .spec-img { transform: none; filter: brightness(0.85); }
}
