:root {
  --navy: #07172b;
  --navy-2: #0d223b;
  --navy-3: #17324f;
  --blue: #1685e6;
  --blue-light: #54b5ff;
  --ice: #e9f5ff;
  --gray: #edf0f2;
  --gray-2: #c9d0d6;
  --ink: #102034;
  --white: #ffffff;
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shell: min(1220px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); background: white; padding: 10px 16px; }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 96px; padding: 0 4vw; display: flex; align-items: center; gap: 38px; position: absolute; inset: 0 0 auto; z-index: 10; color: white; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 288px; }
.brand img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0,0,0,.18)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font: 800 17px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .07em; }
.brand-copy small { margin-top: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; opacity: .7; }
.primary-nav { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.primary-nav a { font-size: 14px; font-weight: 600; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue-light); transition: right .25s ease; }
.primary-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.phone-link { display: flex; flex-direction: column; line-height: 1.15; }
.phone-link span { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; opacity: .65; }
.phone-link strong { margin-top: 5px; font-size: 14px; letter-spacing: .04em; }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: none; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: white; }

.button { min-height: 54px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .09em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 46px; padding-inline: 20px; font-size: 11px; }
.button-blue { color: white; background: var(--blue); }
.button-blue:hover { background: #279af9; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.55); background: rgba(5,18,35,.16); backdrop-filter: blur(6px); }
.button-outline { border: 1px solid #9ba8b4; }
.button-navy { color: white; background: var(--navy); }

.hero { min-height: 780px; height: 92vh; position: relative; color: white; overflow: hidden; background: var(--navy); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url('/psa-carolina-home-hero.webp') center center / cover no-repeat; transform: scale(1.015); animation: settle 1.8s ease-out forwards; }
.hero-overlay { background: linear-gradient(90deg, rgba(3,13,27,.96) 0%, rgba(3,16,33,.8) 32%, rgba(5,20,38,.36) 60%, rgba(4,18,34,.12) 100%), linear-gradient(0deg, rgba(4,15,29,.35), transparent 45%); }
.hero-content { position: relative; z-index: 2; min-height: inherit; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 80px; }
.eyebrow { margin: 0 0 22px; color: var(--blue); font: 700 12px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .24em; }
.eyebrow.light { color: #91ceff; }
.hero h1, h2 { margin: 0; font-family: var(--font-display); letter-spacing: -.05em; }
.hero h1 { max-width: 720px; font-size: clamp(58px, 7vw, 104px); line-height: .92; font-weight: 600; }
.hero-lede { max-width: 610px; margin: 30px 0 34px; color: rgba(255,255,255,.77); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.availability { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; color: rgba(255,255,255,.7); font-size: 13px; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #52c18c; box-shadow: 0 0 0 5px rgba(82,193,140,.12); }
.scroll-cue { position: absolute; z-index: 2; right: 4vw; bottom: 34px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.62); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue span { display: block; width: 48px; height: 1px; background: rgba(255,255,255,.45); }
@keyframes settle { from { opacity: .35; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }

.trust-bar { color: white; background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 132px; padding: 30px; display: flex; gap: 17px; align-items: center; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid span { color: var(--blue-light); font: 600 11px/1 var(--font-display); }
.trust-grid strong { font: 600 14px/1.5 var(--font-display); text-transform: uppercase; letter-spacing: .08em; }

.section { padding-block: 120px; }
.section-label { display: flex; gap: 13px; align-items: center; margin-bottom: 26px; color: #617081; font: 700 11px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .2em; }
.section-label span { width: 42px; height: 1px; background: var(--blue); }
.section-label.light { color: #93a9bd; }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: start; }
h2 { color: var(--navy); font-size: clamp(44px, 5vw, 70px); line-height: 1.04; font-weight: 600; }
h2 em { color: var(--blue); font-style: normal; }
.intro-copy { padding-top: 8px; color: #5d6976; }
.intro-copy .large-copy { margin-top: 0; color: var(--ink); font-size: 25px; line-height: 1.45; }
.intro-copy p:not(.large-copy) { max-width: 560px; }
.text-link { display: inline-flex; gap: 22px; align-items: center; margin-top: 28px; padding-bottom: 7px; border-bottom: 1px solid #8c98a5; font-weight: 700; }
.text-link span { color: var(--blue); }

.services { background: var(--gray); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.section-heading > p { max-width: 420px; margin: 0 0 8px; color: #5f6c79; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 490px; position: relative; overflow: hidden; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--navy-2); isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .9; transition: transform .45s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(5,17,33,.2) 50%, rgba(5,17,33,.93) 100%); }
.service-card.cooling::before { background: radial-gradient(circle at 15% 15%, rgba(83,183,255,.65), transparent 35%), linear-gradient(145deg, #1c5f8c, #08192d 62%); }
.service-card.heating::before { background: radial-gradient(circle at 72% 22%, rgba(238,163,92,.62), transparent 32%), linear-gradient(145deg, #6f4939, #0b1b2d 65%); }
.service-card.refrigeration::before { background: radial-gradient(circle at 85% 20%, rgba(164,221,255,.45), transparent 30%), linear-gradient(145deg, #527485, #091a2e 62%); }
.service-card:hover::before { transform: scale(1.06); }
.service-number { font: 600 12px/1 var(--font-display); color: rgba(255,255,255,.65); }
.service-icon { position: absolute; right: 26px; top: 48px; font-size: 110px; line-height: 1; color: rgba(255,255,255,.13); font-family: var(--font-display); font-weight: 300; }
.service-card h3 { margin: 0 0 10px; font: 600 39px/1.1 var(--font-display); letter-spacing: -.035em; }
.service-card p { min-height: 48px; margin: 0 0 28px; color: rgba(255,255,255,.65); }
.explore { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 600; }
.explore b { color: var(--blue-light); font-size: 20px; }

.emergency { position: relative; padding-block: 100px; color: white; background: var(--blue); overflow: hidden; }
.emergency::after { content: "24"; position: absolute; right: 2vw; top: -85px; color: rgba(255,255,255,.07); font: 800 330px/.8 var(--font-display); letter-spacing: -.1em; }
.emergency-rule { position: absolute; left: 0; top: 0; width: 17%; height: 5px; background: white; }
.emergency-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.emergency h2 { color: white; }
.emergency .eyebrow { color: #d7edff; }
.emergency-call { padding-left: 60px; border-left: 1px solid rgba(255,255,255,.35); }
.emergency-call p { color: rgba(255,255,255,.78); }
.emergency-call a { display: flex; justify-content: space-between; align-items: center; max-width: 380px; padding-bottom: 12px; border-bottom: 1px solid white; font: 700 24px/1.2 var(--font-display); }

.standard { display: grid; grid-template-columns: .9fr 1.1fr; gap: 11vw; align-items: start; }
.standard-copy > p { max-width: 490px; margin: 28px 0 34px; color: #687583; }
.standard-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd2d8; }
.standard-list li { display: grid; grid-template-columns: 48px 1fr; gap: 28px; padding: 26px 4px; border-bottom: 1px solid #cbd2d8; }
.standard-list li > span { color: var(--blue); font: 700 11px/1.5 var(--font-display); }
.standard-list h3 { margin: 0 0 7px; font: 700 19px/1.3 var(--font-display); }
.standard-list p { margin: 0; color: #6b7784; }

.service-area { position: relative; padding-block: 110px; color: white; background: var(--navy); overflow: hidden; }
.area-pattern { position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 72% 48%, rgba(52,153,237,.7), transparent 30%), repeating-linear-gradient(116deg, transparent 0 52px, rgba(255,255,255,.025) 53px 54px); }
.area-grid { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; gap: 10vw; align-items: center; }
.area-grid h2 { color: white; }
.area-grid > div > p { max-width: 460px; color: #9eafbf; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); }
.city-list span { padding: 21px 16px; border-bottom: 1px solid rgba(255,255,255,.18); color: #d8e2ea; font: 600 17px/1.25 var(--font-display); }
.city-list span:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
.city-list span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 13px; border-radius: 50%; background: var(--blue-light); vertical-align: 2px; }

.final-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-cta > img { width: 120px; height: 120px; margin-bottom: 28px; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(7,23,43,.16)); }
.final-cta > p:not(.eyebrow) { margin: 22px 0 32px; color: #697684; font-size: 18px; }
.centered { justify-content: center; }

footer { padding-block: 64px 28px; color: white; background: #04101f; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; align-items: start; }
.footer-brand { color: white; }
.footer-top > p { margin: 0; color: #8fa0b1; font-size: 14px; line-height: 2; }
.footer-top a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 58px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); color: #65788a; font-size: 12px; }
.mobile-call-bar { display: none; }

.call-dialog { width: min(520px, calc(100vw - 34px)); padding: 48px; border: 0; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(2,13,27,.42); text-align: center; }
.call-dialog::backdrop { background: rgba(3,14,28,.78); backdrop-filter: blur(7px); }
.call-dialog[open] { animation: dialog-in .24s ease-out; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; color: #526170; background: transparent; font: 300 31px/1 var(--font-display); cursor: pointer; }
.call-dialog > img { width: 92px; height: 92px; margin: 0 auto 24px; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(7,23,43,.15)); }
.call-dialog .eyebrow { margin-bottom: 16px; }
.call-dialog h2 { font-size: clamp(36px, 7vw, 50px); line-height: 1.05; }
.call-dialog > p:not(.eyebrow):not(.dialog-note) { margin: 20px auto 26px; max-width: 390px; color: #667382; }
.dialog-phone { display: flex; flex-direction: column; align-items: center; padding: 20px; color: white; background: var(--blue); transition: transform .2s ease, background .2s ease; }
.dialog-phone:hover { transform: translateY(-2px); background: #279af9; }
.dialog-phone small { margin-bottom: 7px; font: 700 11px/1 var(--font-display); text-transform: uppercase; letter-spacing: .16em; opacity: .75; }
.dialog-phone strong { font: 800 26px/1.15 var(--font-display); letter-spacing: .03em; }
.call-dialog .dialog-note { margin: 18px 0 0; color: #607080; font-size: 13px; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .site-header { gap: 20px; }
  .header-actions { margin-left: auto; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.12); }
  .trust-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .service-card { min-height: 430px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 34px, 1220px); }
  body { padding-bottom: 64px; }
  .site-header { height: 80px; padding-inline: 17px; }
  .brand { min-width: 0; }
  .brand img { width: 56px; height: 56px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { display: none; }
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; padding: 28px 22px; flex-direction: column; align-items: flex-start; background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); }
  .primary-nav.open { display: flex; }
  .hero { height: auto; min-height: 720px; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,13,27,.96) 0%, rgba(3,16,33,.72) 75%, rgba(3,16,33,.3) 100%); }
  .hero-content { padding-top: 115px; padding-bottom: 60px; justify-content: flex-end; }
  .hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-lede { margin-block: 24px 28px; font-size: 17px; line-height: 1.55; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1; min-width: 100%; }
  .scroll-cue { display: none; }
  .trust-grid { width: 100%; grid-template-columns: 1fr 1fr; }
  .trust-grid > div { min-height: 112px; padding: 20px 17px; gap: 10px; }
  .trust-grid strong { font-size: 11px; }
  .section { padding-block: 78px; }
  .intro-grid, .section-heading, .emergency-grid, .standard, .area-grid, .footer-top { grid-template-columns: 1fr; gap: 42px; }
  h2 { font-size: clamp(42px, 13vw, 58px); }
  .intro-copy .large-copy { font-size: 21px; }
  .section-heading { margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 370px; }
  .emergency { padding-block: 76px; }
  .emergency::after { font-size: 230px; }
  .emergency-call { padding-left: 0; padding-top: 30px; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .standard { gap: 56px; }
  .city-list { grid-template-columns: 1fr; }
  .city-list span:nth-child(odd) { border-right: 0; }
  .footer-bottom { gap: 16px; flex-direction: column; }
  .mobile-call-bar { position: fixed; z-index: 20; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; height: 64px; box-shadow: 0 -10px 30px rgba(0,0,0,.2); }
  .mobile-call-bar a { display: flex; align-items: center; justify-content: center; color: white; background: var(--navy); font: 700 12px/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
  .mobile-call-bar a:last-child { background: var(--blue); }
  .call-dialog { padding: 42px 24px 30px; }
  .call-dialog > img { width: 78px; height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
