/* ==========================================================================
   coldstorageandtrailers.com — Guerra Cold Storage and Trailers
   Single stylesheet for the whole site. Page-specific tweaks: <style> in <head>.
   ========================================================================== */

/* ---------- 1. Brand variables ---------- */
:root {
  /* Palette (own palette, derived from the logo navy) */
  --color-navy-900: #071A3D;   /* footer, dark sections */
  --color-navy-800: #0A2552;
  --color-navy-700: #0B3A82;   /* logo navy: primary buttons, headings accents */
  --color-blue-600: #1257B8;   /* links */
  --color-ice-400:  #4CC3F5;   /* accent: CTA on dark backgrounds */
  --color-ice-200:  #9FD6F7;
  --color-frost-50: #EEF4FA;   /* alternate sections */
  --color-steel-600:#4B5A6B;   /* muted text */
  --color-line:     #D6E1EC;
  --color-ink:      #0E1A2B;   /* body text */
  --color-white:    #FFFFFF;
  --color-whatsapp: #25D366;

  /* Typography */
  --font-head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", Arial, Helvetica, sans-serif;

  /* Brand image sizes (change here, never in the .htm) */
  --logo-height: 52px;
  --logo-footer-width: 220px;

  --radius: 14px;
  --shadow: 0 8px 28px rgba(7, 26, 61, .10);
  --container: 1180px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue-600); }
a:hover { color: var(--color-navy-700); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-navy-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 80px 0; }
.section-alt { background: var(--color-frost-50); }
.section-dark { background: var(--color-navy-900); color: #DCE8F5; }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.section-title { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-title p { color: var(--color-steel-600); font-size: 1.2rem; }
.section-dark .section-title p { color: var(--color-ice-200); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-blue-600);
  margin-bottom: 10px;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--color-ice-400); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-navy-700); color: var(--color-white); }
.btn-primary:hover { background: var(--color-navy-900); color: var(--color-white); }
.btn-ice { background: var(--color-ice-400); color: var(--color-navy-900); }
.btn-ice:hover { background: var(--color-white); color: var(--color-navy-900); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-navy-900); }
.btn-outline-dark { border-color: var(--color-navy-700); color: var(--color-navy-700); }
.btn-outline-dark:hover { background: var(--color-navy-700); color: var(--color-white); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. Header ---------- */
.topbar { background: var(--color-navy-900); color: var(--color-ice-200); font-size: .95rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--color-white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--color-ice-400); }
.topbar-links { display: flex; gap: 22px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-white); box-shadow: 0 1px 0 var(--color-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.logo img { height: var(--logo-height); width: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--color-navy-900); text-decoration: none; }
.main-nav a:hover { color: var(--color-blue-600); }
.main-nav .btn { color: var(--color-white); padding: 10px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--color-navy-900); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--color-white); box-shadow: var(--shadow); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; }
  .main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
  .main-nav li:last-child a { margin-top: 14px; border: 0; text-align: center; }
}
@media (max-width: 640px) {
  .topbar-note { display: none; }
  .topbar .container { justify-content: center; }
  :root { --logo-height: 44px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #DCE8F5;
  background: radial-gradient(ellipse at 75% 45%, #1450C8 0%, #0B3A9E 30%, var(--color-navy-800) 62%, var(--color-navy-900) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: var(--color-white); }
.hero-lead { font-size: 1.3rem; color: #D2E3F5; max-width: 600px; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; color: var(--color-white); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--color-ice-400); flex: none; }
.hero-media img {
  width: 100%; max-width: 560px; margin-left: auto;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
          mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 50px; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 380px; margin: 0 auto -20px; }
}

/* ---------- 7. Cards ---------- */
.card-grid, .card-grid-2, .card-grid-4 { display: grid; gap: 26px; }
.card-grid   { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .card-grid, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--color-white); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card p { color: var(--color-steel-600); }

/* Two buyer paths */
.path-card { display: flex; flex-direction: column; border-top: 5px solid var(--color-navy-700); }
.path-card.alt { border-top-color: var(--color-ice-400); }
.path-card ul { padding-left: 1.2em; margin: 0 0 24px; color: var(--color-ink); }
.path-card li { margin-bottom: 6px; }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.card-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--color-frost-50); color: var(--color-navy-700); margin-bottom: 18px; }
.card-icon svg { width: 30px; height: 30px; }

/* Product cards */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product-card h3 { margin-bottom: .4em; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--color-blue-600); }
.product-card p { font-size: 1.02rem; }
.card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.card-links a { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.card-links .quote-link { color: var(--color-navy-700); }

/* ---------- 8. Feature list (how we build) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.feature-list svg { width: 46px; height: 46px; padding: 10px; border-radius: 10px; background: rgba(76,195,245,.14); color: var(--color-ice-400); }
.feature-list h3 { font-size: 1.3rem; margin-bottom: .2em; }
.feature-list p { margin: 0; }
.section-dark .feature-list p { color: #C5D6E8; }
.build-figure img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.build-figure figcaption { font-size: .92rem; color: var(--color-ice-200); margin-top: 10px; }

/* ---------- 9. Who we serve (chips) ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chip-grid { grid-template-columns: 1fr; } }
.chip { display: flex; gap: 14px; align-items: flex-start; background: var(--color-white); border: 1px solid var(--color-line); border-radius: 12px; padding: 18px 20px; }
.chip svg { width: 28px; height: 28px; flex: none; color: var(--color-navy-700); margin-top: 2px; }
.chip strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--color-navy-900); }
.chip span { color: var(--color-steel-600); font-size: 1rem; }

/* ---------- 10. Process steps ---------- */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid { grid-template-columns: 1fr; } }
.process-grid li { position: relative; padding-top: 64px; }
.process-grid li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-navy-700); color: var(--color-white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
}
.process-grid p { color: var(--color-steel-600); margin: 0; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--color-navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.8rem; color: var(--color-blue-600); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--color-steel-600); padding-right: 30px; }

/* ---------- 12. CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--color-navy-700), #0E4FB0); color: var(--color-white); padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--color-white); margin-bottom: .25em; }
.cta-band p { margin: 0; color: #D2E3F5; font-size: 1.2rem; }

/* ---------- 13. Notice ---------- */
.notice-box { background: var(--color-frost-50); border-left: 4px solid var(--color-ice-400); border-radius: 8px; padding: 16px 20px; color: var(--color-steel-600); font-size: 1rem; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--color-navy-900); color: #B9CBE0; padding: 64px 0 30px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { width: var(--logo-footer-width); height: auto; margin-bottom: 18px; }
.site-footer h3 { font-size: 1.15rem; color: var(--color-white); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #DCE8F5; text-decoration: none; }
.site-footer a:hover { color: var(--color-ice-400); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .95rem; }

/* ---------- 15. Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
  .topbar, .site-header, .cta-band, .wa-float { display: none !important; }
}

/* ---------- 16. Inner pages (paso 2) ---------- */
.hero-sm .hero-inner { padding-top: 46px; padding-bottom: 56px; grid-template-columns: 1.1fr .9fr; }
.hero-sm h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-sm .hero-lead { font-size: 1.2rem; }
.hero-sm .hero-media img { -webkit-mask-image: none; mask-image: none; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 520px; }
.hero-sm.no-media .hero-inner { grid-template-columns: 1fr; }
.hero-sm.no-media .hero-content { max-width: 820px; }
@media (max-width: 900px) {
  .hero-sm .hero-inner { grid-template-columns: 1fr; }
  .hero-sm .hero-media { order: 0; }
  .hero-sm .hero-media img { margin: 10px 0 0; max-width: 100%; }
}
.breadcrumb { font-size: .95rem; margin-bottom: 14px; color: var(--color-ice-200); }
.breadcrumb a { color: var(--color-white); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .6; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--color-line); }
.spec-table th { width: 32%; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--color-navy-900); background: var(--color-frost-50); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .spec-table th, .spec-table td { display: block; width: 100%; } .spec-table th { border-bottom: 0; padding-bottom: 4px; } }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--color-ice-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071A3D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .option-grid { grid-template-columns: 1fr; } }
.option-grid .card h3 { font-size: 1.3rem; }

.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related a { display: inline-block; padding: 10px 18px; border: 1px solid var(--color-line); border-radius: 999px; background: var(--color-white); font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--color-navy-900); }
.related a:hover { border-color: var(--color-blue-600); color: var(--color-blue-600); }

/* Quote page */
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }
.quote-form { min-height: 480px; }
.quote-form iframe { width: 100%; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list a { font-weight: 600; }
.product-card h2 { font-size: 1.4rem; margin-bottom: .4em; }
.product-card h2 a { color: inherit; text-decoration: none; }
.product-card h2 a:hover { color: var(--color-blue-600); }
.prose .eyebrow + h2 { margin-top: 0; }
