/* MT Refrigeration Service Inc — Brand Styles */
:root {
  /* Brand palette — from logo & business card */
  --brand-red: #d62828;
  --brand-red-dark: #a91d2e;
  --brand-blue: #3480c4;
  --brand-blue-light: #5aaddf;
  --brand-blue-soft: #7ec4ec;

  --navy: #2b6cb0;
  --navy-dark: #1e5a96;
  --navy-light: #4a9fd9;
  --navy-mid: #5aaddf;
  --red: var(--brand-red);
  --red-hover: #b91c1c;
  --red-glow: rgba(214, 40, 40, 0.25);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(43, 108, 176, 0.12);
  --shadow-lg: 0 12px 48px rgba(43, 108, 176, 0.18);
  --transition: 0.2s ease;
  --header-h: 72px;
  --call-bar-h: 48px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--call-bar-h) + 16px);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--red);
  color: var(--white);
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn--ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--header { padding: 10px 18px; font-size: 0.9rem; }

/* Call bar (mobile) */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--red);
  display: none;
}
.call-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #d62828 0%, #3d8fd4 55%, #6eb8ea 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  height: var(--header-h);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}
.logo img { border-radius: 8px; }
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo__text strong { font-size: 1rem; font-weight: 700; }
.logo__text small { font-size: 0.75rem; opacity: 0.7; font-weight: 500; }

.nav__list {
  display: flex;
  gap: 28px;
}
.nav__list a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.nav__list a:hover { color: var(--white); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(
    165deg,
    #d62828 0%,
    #d42f3a 14%,
    #3480c4 42%,
    #5aaddf 72%,
    #7ec4ec 100%
  );
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 90% 10%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 95%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero__sub {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__sub strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.75;
  font-weight: 500;
}
.hero__trust svg { color: var(--red); flex-shrink: 0; }

/* Sections */
.section { padding: 80px 0; }
.section--alt { background: var(--gray-50); }
.section--featured { background: linear-gradient(160deg, #1e5a96 0%, #3480c4 100%); color: var(--white); }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 12px;
}
.section__label--light { color: #fca5a5; }
.section__header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section--featured .section__header h2 { color: var(--white); }
.section__header p { color: var(--gray-600); font-size: 1.05rem; }
.section--featured .section__header p { color: rgba(255, 255, 255, 0.7); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 40, 40, 0.08);
  border-radius: 12px;
  color: var(--red);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p { color: var(--gray-600); font-size: 0.95rem; }

.services-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}
.services-cta p {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* Featured */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.featured h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.featured__lead {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 24px;
  line-height: 1.7;
}
.featured__benefits {
  margin-bottom: 28px;
}
.featured__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  opacity: 0.9;
}
.featured__benefits svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.featured__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.featured__image--main { grid-row: span 2; }
.featured__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.featured__image--main { aspect-ratio: auto; }
.featured__image img,
.featured__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 140px;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 500;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}
.featured__note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  opacity: 0.6;
}
.featured__note a {
  color: #fca5a5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.featured__note a:hover { color: var(--white); }

/* About */
.about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.about__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.about__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.about__content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.stat span { font-size: 0.85rem; color: var(--gray-600); font-weight: 500; }

/* Instagram */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.instagram-grid--single {
  max-width: 320px;
  margin: 0 auto;
}
.instagram-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.instagram-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--red);
}
.instagram-card--cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-color: transparent;
}
.instagram-card--cta:hover { border-color: var(--red); }
.instagram-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 40, 40, 0.1);
  border-radius: 50%;
  color: var(--red);
}
.instagram-card--cta .instagram-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.instagram-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.instagram-card--cta h3 { color: var(--white); }
.instagram-card p { font-size: 0.85rem; color: var(--gray-600); }
.instagram-card--cta p { color: rgba(255, 255, 255, 0.7); }

/* Project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.project-gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.project-gallery__item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.project-gallery__item--wide {
  grid-column: span 2;
}
.project-gallery__item--mini-split .project-gallery__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.project-gallery__item--mini-split img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.45);
  transform-origin: top center;
}
.project-gallery__item img,
.project-gallery__item video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--gray-100);
}
.project-gallery__item figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}
.review-card__stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 12px;
}
.review-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
}
.review-card cite {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: normal;
  font-weight: 500;
}
.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.reviews-actions .btn--outline {
  color: var(--navy);
  border-color: var(--gray-200);
}
.reviews-actions .btn--outline:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

/* Service Area */
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.cities span,
.cities a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.cities span:hover,
.cities a:hover {
  background: rgba(214, 40, 40, 0.06);
  border-color: rgba(214, 40, 40, 0.2);
}
.service-area__note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
  color: var(--white);
  padding: 64px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-banner p { opacity: 0.9; font-size: 1.05rem; }
.cta-banner .btn--primary {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  flex-shrink: 0;
}
.cta-banner .btn--primary:hover {
  background: var(--gray-100);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}
.footer__brand p { font-size: 0.85rem; opacity: 0.7; margin-top: 2px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer__links a {
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__copy { font-size: 0.8rem; opacity: 0.5; }

/* City landing pages */
.city-hero {
  background: linear-gradient(165deg, #d62828 0%, #d42f3a 14%, #3480c4 42%, #5aaddf 72%, #7ec4ec 100%);
  color: var(--white);
  padding: 48px 0 64px;
}
.city-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  max-width: 720px;
}
.city-hero__lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 560px;
}
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 20px;
  opacity: 0.8;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { opacity: 1; }
.city-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.city-content__main h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 16px;
}
.city-content__main p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.city-services {
  list-style: none;
  margin-bottom: 20px;
}
.city-services li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
.city-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}
.city-sidebar__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.city-sidebar__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.city-sidebar__card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.city-nearby {
  list-style: none;
}
.city-nearby li { margin-bottom: 6px; }
.city-nearby a {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cities a {
  text-decoration: none;
}
.cities a:hover {
  color: var(--red);
}

/* Responsive */
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__image { max-width: 320px; margin: 0 auto; }
  .project-gallery__item--wide { grid-column: span 1; }
  .about__stats { justify-content: center; }
  .city-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .call-bar { display: block; }
  body { padding-bottom: var(--call-bar-h); }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #d62828 0%, #3d8fd4 55%, #6eb8ea 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav.is-open {
    max-height: 400px;
    padding: 16px 20px 24px;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-toggle { display: flex; }
  .btn--header { display: none; }

  .hero { padding: 56px 0 72px; }
  .section { padding: 56px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner .btn { width: 100%; }
}

@media (max-width: 480px) {
  .logo__text { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about__stats { gap: 20px; }
  .stat strong { font-size: 1.5rem; }
}
