/* ===== CALTRONIC Brand Variables ===== */
:root {
  --navy: #0a1931;
  --navy-light: #112a4a;
  --orange: #f5821f;
  --orange-dark: #d96e0f;
  --white: #ffffff;
  --grey-light: #f0f2f5;
  --grey: #c8cdd4;
  --grey-dark: #6b7280;
  --font: 'Montserrat', Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10, 25, 49, 0.12);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10, 25, 49, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--navy) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245, 130, 31, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 130, 31, 0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  display: inline-flex;
  background: var(--white);
  border-radius: 50%;
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.hero-logo {
  width: 100px;
  height: auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--orange);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ===== Services Banner ===== */
.services-banner {
  background: var(--navy);
  padding: 0 0 3rem;
}

.banner-box {
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
}

.banner-row {
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.8rem, 2vw, 1rem);
}

.banner-row--navy {
  background: var(--navy-light);
  color: var(--white);
}

.banner-row--orange {
  background: var(--orange);
  color: var(--navy);
}

/* ===== About ===== */
.about {
  position: relative;
  background: var(--white);
  padding: 4rem 0;
}

.wave-top,
.wave-bottom {
  height: 60px;
  background: var(--grey-light);
  position: relative;
}

.wave-top {
  margin-bottom: 3rem;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.wave-bottom {
  margin-top: 3rem;
  clip-path: ellipse(55% 100% at 50% 0%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy);
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--grey-dark);
}

.about-highlights {
  margin-top: 1.5rem;
}

.about-highlights li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--navy);
}

.about-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

/* ===== Features ===== */
.features {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--orange);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
}

.feature-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
  font-size: 0.9rem;
}

.feature-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ===== Flyer Section ===== */
.flyer-section {
  background: var(--grey-light);
  padding: 3rem 0;
}

.flyer-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 800px;
}

/* ===== Contact ===== */
.contact {
  background: var(--navy);
  padding: 4rem 0;
}

.contact-box {
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.contact-cta {
  background: var(--orange);
  padding: 1.75rem;
  text-align: center;
}

.contact-cta h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
}

.contact-details {
  background: var(--navy-light);
  padding: 2rem;
}

.contact-heading {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-item:hover { color: var(--orange); }

.contact-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-item--static { cursor: default; }
.contact-item--static:hover { color: var(--white); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(245, 130, 31, 0.2);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.25rem;
}

.footer-tagline {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(10, 25, 49, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 100px 0 60px; }
}
