/* ============================================
   COASTLINE AIR & HEAT — DEMO SITE
   Built by Ironmast Studio
   Brand colors: Navy + Warm Orange
   ============================================ */

:root {
  --navy: #0B2545;
  --navy-light: #134074;
  --navy-dark: #061633;
  --orange: #E76F51;
  --orange-dark: #D5603F;
  --white: #FFFFFF;
  --bg-light: #F8F9FB;
  --bg-mid: #EEF1F5;
  --text: #1A1A1A;
  --text-muted: #5B6472;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --green: #0E9F6E;
  --gold: #F4B400;
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 12px 32px rgba(11, 37, 69, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.icon { flex-shrink: 0; }

/* Visible focus for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ============ TOP BAR ============ */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-bar__hours { color: rgba(255, 255, 255, 0.78); }
.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.top-bar__phone:hover { color: var(--orange); }

/* ============ HEADER ============ */
.header {
  background: var(--white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo__icon { color: var(--orange); }
.logo__text em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  transition: color 0.15s;
}
.nav a:hover { color: var(--orange); }
.nav__cta { display: inline-flex; align-items: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  text-align: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, color 0.15s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: var(--shadow-md);
}
.btn--primary:disabled { opacity: 0.6; cursor: default; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}
.btn--large {
  padding: 16px 30px;
  font-size: 17px;
}
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1d5a9e 100%);
  color: var(--white);
  padding: 80px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(231, 111, 81, 0.20) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 600px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--white);
}
.hero__eyebrow .stars { color: var(--gold); letter-spacing: 0.05em; }
.hero__headline {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: normal;
  color: var(--orange);
}
.hero__sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.hero__trust .check { color: var(--orange); }

.hero__media { position: relative; }
.hero__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  color: var(--navy);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
}
.hero__badge-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__badge-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-bar__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.trust-bar__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--navy);
}
.section__title--light { color: var(--white); }
.section__sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
}
.section__sub--light { color: rgba(255, 255, 255, 0.82); }

/* ============ SERVICES ============ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.service-card--featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255, 255, 255, 0.82); }
.service-card--featured .service-card__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--orange);
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============ GALLERY ============ */
.gallery-section { padding-bottom: 72px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery__img {
  width: 100%;
  aspect-ratio: 19 / 14;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover .gallery__img { transform: scale(1.04); }

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}
.about__visual { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(11, 37, 69, 0.88);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.about__content p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.7;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.badge {
  background: var(--white);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* ============ GUARANTEE BAND ============ */
.guarantee {
  background: var(--navy-dark);
  color: var(--white);
  padding: 48px 0;
}
.guarantee__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.guarantee__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.guarantee__item svg { color: var(--orange); margin-top: 2px; }
.guarantee__item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.guarantee__item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* ============ REVIEWS ============ */
.google-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  background: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.google-rating__stars { color: var(--gold); font-size: 18px; letter-spacing: 0.04em; }
.google-rating__num { font-size: 22px; font-weight: 800; color: var(--navy); }
.google-rating__label { color: var(--text-muted); font-size: 14px; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.review:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.review__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.review__stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.03em;
}
.review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.review__quote {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.62;
  margin-bottom: 20px;
  flex-grow: 1;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.review__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.review__loc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Service area chips */
.service-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 48px;
  text-align: center;
}
.service-area__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.service-area__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.service-area__list li {
  background: var(--bg-mid);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* ============ CONTACT ============ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__lead { padding-top: 8px; }
.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.contact__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--orange);
  flex-shrink: 0;
}
.contact__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact__value {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
a.contact__value:hover { color: var(--orange); }

.contact__form {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact__form h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 24px;
  font-weight: 700;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}
.form-success {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(14, 159, 110, 0.1);
  border: 1px solid var(--green);
  border-radius: 10px;
  color: #0a7a54;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
  font-size: 15px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.logo--footer {
  color: var(--white);
  margin-bottom: 14px;
}
.footer__tag {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.footer__col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer__col li {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 14px;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__credit a { color: var(--orange); font-weight: 600; }

/* ============ STICKY MOBILE CALL ============ */
.mobile-call {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  letter-spacing: -0.01em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: none; }
  .hero__media { max-width: 560px; }
  .hero__badge { left: 0; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .nav__cta { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .guarantee__inner { grid-template-columns: 1fr; gap: 24px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__visual { max-width: 440px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 72px; }
  .section { padding: 60px 0; }
  .top-bar__hours { display: none; }
  .top-bar__inner { justify-content: center; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .trust-bar__num { font-size: 28px; }
  .services { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .mobile-call { display: flex; }
  body { padding-bottom: 80px; }
  .hero__badge { bottom: -14px; padding: 13px 18px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover,
  .review:hover,
  .gallery__item:hover .gallery__img { transform: none; }
}
