/* Save this file in UTF-8 encoding without BOM */
/* index.css — Rite-Temp Homepage | Page-specific styles */

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  padding: 80px 0 70px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(43,120,208,.22) 0%, transparent 70%),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(212,137,26,.18); border: 1px solid rgba(212,137,26,.5);
  color: var(--gold-lt); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; color: #fff; line-height: 1.07; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--gold-lt); }
.hero-desc { color: #a8c8ea; font-size: 1.06rem; max-width: 480px; margin-bottom: 30px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.stat .n { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--gold-lt); line-height: 1; }
.stat .l { font-size: .7rem; color: #8aafce; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.hero-img-wrap { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.hero-img-wrap img { width: 100%; object-fit: cover; max-height: 460px; transition: opacity .5s; }
.hero-img-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(14,35,68,.88); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
  padding: 9px 15px; color: #fff;
}
.hero-img-badge strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; }
.hero-img-badge span { font-size: .74rem; color: #a8c8ea; }
.img-dots { position: absolute; top: 12px; right: 12px; display: flex; gap: 7px; }
.img-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background .2s; }
.img-dot.active { background: var(--gold-lt); }

/* ─── About ─── */
.about { background: var(--off); }
.about-g { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-c p { color: var(--muted); margin-bottom: 15px; line-height: 1.8; }
.hi-g { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.hi-card { background: #fff; border-left: 4px solid var(--blue-light); padding: 14px 16px; border-radius: 0 6px 6px 0; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.hi-card .hi-icon { color: var(--blue-mid); margin-bottom: 6px; font-size: 1rem; }
.hi-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.hi-card p { font-size: .83rem; color: var(--muted); margin: 0; }
.about-v { background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%); border-radius: 8px; padding: 38px 32px; color: #fff; }
.about-v h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.about-v p { color: #a8c8ea; font-size: .92rem; line-height: 1.75; margin-bottom: 13px; }
.big-phone { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--gold-lt); text-decoration: none; margin-top: 20px; }

/* ─── Product Showcase ─── */
.showcase-g { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.prod-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(14,35,68,.08); }
.prod-img img { width: 100%; height: 280px; object-fit: cover; transition: transform .4s; }
.prod-card:hover .prod-img img { transform: scale(1.03); }
.prod-info { padding: 22px 24px; }
.prod-model { font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-mid); margin-bottom: 5px; }
.prod-info h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.45rem; font-weight: 800; color: var(--navy); margin-bottom: 9px; }
.prod-info p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.new-badge { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 12px; margin-bottom: 10px; }

/* ─── Discontinued Chillers ─── */
.ch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ch-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow .25s, transform .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.ch-card:hover { box-shadow: 0 8px 30px rgba(14,35,68,.13); transform: translateY(-3px); }
.ch-top { background: var(--blue); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.ch-ico { width: 38px; height: 38px; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: .95rem; }
.ch-top h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; }
.ch-top .cap { font-size: .73rem; color: #a8c8e8; letter-spacing: .05em; }
.ch-body { padding: 18px 20px; flex: 1; }
.ch-body p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.ch-foot { padding: 11px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.disc { background: #fff3cd; color: #856404; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 12px; border: 1px solid #ffc107; }
.vl { display: flex; align-items: center; gap: 5px; color: var(--blue-mid); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.vl:hover { color: var(--gold); }

/* ─── Applications ─── */
.apps { background: var(--navy); }
.apps .h2 { color: #fff; }
.apps .lbl { color: var(--gold-lt); }
.apps .sub { color: #8aafce; }
.apps-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.app-c { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 24px 20px; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; display: flex; flex-direction: column; gap: 9px; }
.app-c:hover { background: rgba(255,255,255,.09); border-color: var(--gold); transform: translateY(-2px); }
.app-ico { width: 42px; height: 42px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold-lt); font-size: 1.15rem; }
.app-c h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; }
.app-c p { font-size: .84rem; color: #8aafce; line-height: 1.65; }
.app-lnk { display: flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; color: var(--gold-lt); letter-spacing: .07em; text-transform: uppercase; margin-top: auto; }

/* ─── Accessories ─── */
.acc { background: var(--steel); }
.acc-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.acc-c { background: #fff; border-radius: 8px; padding: 28px 24px; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: box-shadow .2s; }
.acc-c:hover { box-shadow: 0 6px 22px rgba(14,35,68,.1); }
.acc-icon { width: 46px; height: 46px; background: var(--steel); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-mid); font-size: 1.25rem; margin-bottom: 12px; }
.acc-c h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.acc-c p { font-size: .87rem; color: var(--muted); line-height: 1.7; }
.acc-lnk { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: .79rem; font-weight: 700; color: var(--blue-mid); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }

/* ─── Why Choose ─── */
.why-g { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-c { text-align: center; padding: 32px 16px; border: 1px solid var(--border); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.why-c:hover { border-color: var(--blue-light); box-shadow: 0 4px 18px rgba(30,92,168,.1); }
.why-ico { width: 58px; height: 58px; margin: 0 auto 14px; background: var(--steel); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue-mid); font-size: 1.35rem; }
.why-c h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.why-c p { font-size: .84rem; color: var(--muted); line-height: 1.7; }

/* ─── FAQ ─── */
.faq { background: var(--off); }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: 'Lato', sans-serif; font-size: .97rem; font-weight: 700; color: var(--navy); transition: background .2s; }
.faq-q:hover { background: var(--steel); }
.faq-q.open { background: var(--blue); color: #fff; }
.faq-q.open .faq-chev { transform: rotate(180deg); color: #fff; }
.faq-chev { font-size: .8rem; flex-shrink: 0; transition: transform .25s; color: var(--blue-mid); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.faq-a.open { max-height: 280px; padding: 0 22px 18px; }
.faq-a p { font-size: .92rem; color: var(--muted); line-height: 1.8; }

/* ─── Blog ─── */
.blog-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 38px; flex-wrap: wrap; gap: 14px; }
.blog-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bl-c { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: box-shadow .2s; display: flex; flex-direction: column; }
.bl-c:hover { box-shadow: 0 6px 22px rgba(14,35,68,.1); }
.bl-top { background: linear-gradient(135deg, var(--blue), var(--navy)); height: 6px; }
.bl-b { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.bl-date { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 9px; }
.bl-c h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 9px; }
.bl-c p { font-size: .86rem; color: var(--muted); line-height: 1.7; flex: 1; }
.bl-rd { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--blue-mid); text-transform: uppercase; letter-spacing: .06em; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .ch-grid, .apps-g, .why-g { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .hero-in, .showcase-g, .about-g { grid-template-columns: 1fr; }
  .hero-img-wrap { max-height: 300px; }
  .ch-grid, .acc-g, .blog-g { grid-template-columns: 1fr; }
  .apps-g { grid-template-columns: 1fr 1fr; }
  .why-g { grid-template-columns: 1fr 1fr; }
  .blog-hdr { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .apps-g, .why-g, .hi-g { grid-template-columns: 1fr; }
}
