/* =====================================================================
   MV TEXAS ELECTRIC LLC — Stylesheet
   Palette derived from the company logo (Texas flag + gold lightning)
   Mobile-first, responsive, vanilla CSS.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy: #0A2A5E;
  /* Texas flag blue */
  --red: #C8202F;
  /* Texas flag red / logo text */
  --gold: #F2A900;
  /* Lightning bolt */
  --cream: #F5F0E1;
  /* Off-white background */
  --ink: #1A1A1A;
  /* Dark text / contrast */

  --navy-dark: #071d42;
  --gold-dark: #c98d00;
  --cream-dark: #ebe3cc;
  --white: #ffffff;
  --muted: #5b5b55;

  /* Typography */
  --font-head: "Montserrat", "Rockwell", "Roboto Slab", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(10, 42, 94, 0.08);
  --shadow-md: 0 8px 28px rgba(10, 42, 94, 0.14);
  --shadow-lg: 0 18px 50px rgba(10, 42, 94, 0.22);
  --header-h: 90px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.2px;
}

ul {
  list-style: none;
}

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

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #a81824;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-phone {
  background: var(--red);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.btn-phone:hover {
  background: #a81824;
  color: var(--white);
  transform: translateY(-2px);
}

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 225, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(245, 240, 225, 0.99);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
  max-width: 1300px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-head);
  color: var(--red);
  font-size: 1.05rem;
  letter-spacing: 0.4px;
}

.brand-text small {
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Primary nav (mobile drawer) */
.primary-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--header-h));
  background: var(--navy);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(105%);
  transition: transform var(--transition);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.primary-nav.open {
  transform: translateX(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  order: 2;
}

.nav-link {
  display: block;
  color: var(--cream);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  order: 3;
}

/* Language switch */
.lang-switch {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--cream);
  border-radius: 50px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  order: 1;
  align-self: flex-start;
  margin-bottom: 8px;
  transition: all var(--transition);
}

.lang-switch:hover {
  background: var(--gold);
  color: var(--ink);
}

.lang-switch span {
  transition: color var(--transition);
}

.lang-switch .active {
  color: var(--gold);
}

.lang-switch:hover .active {
  color: var(--ink);
}

.lang-switch .lang-sep {
  opacity: 0.5;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/about.jpg") center/cover no-repeat;
  background-color: var(--navy-dark);
  transform: scale(1.05);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 29, 66, 0.72) 0%, rgba(7, 29, 66, 0.6) 45%, rgba(10, 42, 94, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 18px;
  background: var(--red);
  border: 1px solid var(--red);
  padding: 7px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(200, 32, 47, 0.45);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}

.hero-subtitle {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll-dot {
  width: 5px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 0;
  }
}

/* =====================================================================
   SECTIONS (shared)
   ===================================================================== */
.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  margin-bottom: 14px;
  position: relative;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Decorative gold underline under section titles */
.section-head .section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 16px auto 0;
}

/* =====================================================================
   SERVICES (Red Background)
   ===================================================================== */
.services {
  background: linear-gradient(135deg, #9E1320 0%, #C8202F 50%, #8A0E18 100%);
  color: var(--white);
}

.services .section-eyebrow {
  color: var(--gold);
}

.services .section-title {
  color: var(--white);
}

.services .section-title::after {
  background: var(--gold);
}

.services .section-lead {
  color: rgba(255, 255, 255, 0.92);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 38px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  text-decoration: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: 0 6px 18px rgba(10, 42, 94, 0.3);
}

.service-card:hover .service-icon {
  background: var(--red);
  border-color: var(--gold);
  transform: scale(1.08);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  transition: fill var(--transition);
}

.service-card:hover .service-icon svg {
  fill: var(--white);
}

.service-name {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.3;
}

/* =====================================================================
   ABOUT (Navy Background)
   ===================================================================== */
.about {
  background: linear-gradient(135deg, #071D42 0%, #0A2A5E 50%, #08214B 100%);
  color: var(--white);
}

.about .section-eyebrow {
  color: var(--gold);
}

.about .section-title {
  color: var(--white);
}

.about .section-title::after {
  background: var(--red);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--navy-dark);
}

.about-badge {
  position: absolute;
  bottom: -18px;
  right: -6px;
  background: var(--red);
  color: var(--white);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge-txt {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-text {
  color: rgba(245, 240, 225, 0.9);
  margin-bottom: 26px;
  font-size: 1.05rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 2px;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
  font-family: var(--font-body);
  color: var(--white);
}

.feature-item p {
  color: rgba(245, 240, 225, 0.82);
  font-size: 0.95rem;
}

/* =====================================================================
   SERVICE AREA / COVERAGE (Red Background)
   ===================================================================== */
.service-area {
  background: linear-gradient(135deg, #9E1320 0%, #C8202F 50%, #8A0E18 100%);
  color: var(--white);
}

.service-area .section-eyebrow {
  color: var(--gold);
}

.service-area .section-title {
  color: var(--white);
}

.service-area .section-title::after {
  background: var(--gold);
}

.service-area .section-lead {
  color: rgba(255, 255, 255, 0.92);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.area-map {
  display: flex;
  justify-content: center;
}

.texas-map-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.texas-map-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.texas-pin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.texas-pin {
  fill: var(--gold);
}

.texas-pin-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  opacity: 0.85;
  animation: pulseRing 2.4s ease-out infinite;
  transform-origin: 340px 175px;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.5);
    opacity: 0.95;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.texas-pin-label {
  fill: var(--gold);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.5px;
}

.texas-label {
  fill: rgba(255, 255, 255, 0.22);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 5px;
  text-anchor: middle;
}

.area-cities h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.cities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 20px;
}

.cities-list li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: var(--white);
}

.cities-list li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.area-note {
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
}

/* =====================================================================
   GALLERY (Navy Background)
   ===================================================================== */
.gallery {
  background: linear-gradient(135deg, #071D42 0%, #0A2A5E 50%, #08214B 100%);
  color: var(--white);
}

.gallery .section-eyebrow {
  color: var(--gold);
}

.gallery .section-title {
  color: var(--white);
}

.gallery .section-title::after {
  background: var(--red);
}

.gallery .section-lead {
  color: rgba(245, 240, 225, 0.88);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/3;
  background: var(--navy-dark);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid var(--red);
  transition: border-width var(--transition);
  pointer-events: none;
  border-radius: var(--radius);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  border-width: 4px;
}

/* =====================================================================
   CONTACT (Navy Background)
   ===================================================================== */
.contact {
  background: linear-gradient(135deg, #071D42 0%, #0A2A5E 50%, #08214B 100%);
  color: var(--white);
}

.contact .section-eyebrow {
  color: var(--gold);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-title::after {
  background: var(--red);
}

.contact .section-lead {
  color: rgba(245, 240, 225, 0.88);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 26px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(200, 32, 47, 0.4);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.info-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  color: var(--white);
}

.info-item p {
  color: rgba(245, 240, 225, 0.85);
  font-size: 0.98rem;
}

.info-item a {
  font-weight: 600;
  color: var(--gold);
}

.info-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.social-link:hover svg {
  fill: var(--white);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--cream-dark);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 32, 47, 0.16);
  background: var(--white);
}

.form-row input:invalid:not(:placeholder-shown),
.form-row textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-status {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2em;
}

.form-status.success {
  color: #1f7a34;
}

.form-status.error {
  color: var(--red);
}

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
  line-height: 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(245, 240, 225, 0.85);
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 92px;
  width: auto;
  margin-bottom: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.footer-tagline {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
  max-width: 320px;
}

.footer-license {
  font-weight: 700;
  color: var(--cream);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(245, 240, 225, 0.85);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.88rem;
  color: rgba(245, 240, 225, 0.7);
}

.footer-credit {
  font-size: 0.88rem;
  color: rgba(245, 240, 225, 0.7);
}

.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* =====================================================================
   FLOATING BUTTONS (Call + WhatsApp)
   ===================================================================== */
.floating-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: floatPulse 2.5s ease-in-out infinite;
  transition: transform var(--transition), background var(--transition);
}

.floating-call span {
  display: none;
}

.floating-call svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.floating-call:hover {
  background: #a81824;
  color: var(--white);
  transform: scale(1.1);
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(200, 32, 47, 0.45);
  }

  50% {
    box-shadow: 0 8px 34px rgba(200, 32, 47, 0.75);
  }
}

.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  animation: floatPulseWa 2.5s ease-in-out infinite;
  transition: transform var(--transition), background var(--transition);
}

.floating-whatsapp span {
  display: none;
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.floating-whatsapp:hover {
  background: #1ebe5b;
  color: var(--white);
  transform: scale(1.1);
}

@keyframes floatPulseWa {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 8px 34px rgba(37, 211, 102, 0.75);
  }
}

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   RESPONSIVE — TABLET
   ===================================================================== */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cities-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta-group {
    gap: 18px;
  }
}

/* =====================================================================
   RESPONSIVE — DESKTOP
   ===================================================================== */
@media (min-width: 900px) {
  .section {
    padding: 96px 0;
  }

  /* Desktop nav: horizontal, inline */
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    transform: none;
    box-shadow: none;
    overflow: visible;
    flex: 1;
  }

  .nav-list {
    flex-direction: row;
    gap: 4px;
    margin: 0 auto;
  }

  .nav-link {
    color: var(--navy);
    font-size: 0.98rem;
    padding: 8px 12px;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--red);
    background: none;
    border-left: none;
    border-bottom-color: var(--red);
  }

  .nav-list {
    flex-direction: row;
    gap: 4px;
    margin: 0 auto;
    order: 1;
  }

  .nav-actions {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-top: 0;
    order: 2;
  }

  .lang-switch {
    order: 3;
    align-self: center;
    margin-bottom: 0;
    color: var(--navy);
    border-color: var(--red);
  }

  .lang-switch .active {
    color: var(--red);
  }

  .lang-switch:hover {
    background: var(--red);
    color: var(--white);
  }

  .lang-switch:hover .active {
    color: var(--gold);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }

  .area-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.4fr;
  }

  /* Hide floating call button on desktop (phone button already in nav) */
  .floating-call {
    display: none;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .service-card {
    padding: 28px 18px;
  }

  .service-name {
    font-size: 1.05rem;
  }
}

.testimonials {
  background: linear-gradient(135deg, #9E1320 0%, #C8202F 50%, #8A0E18 100%);
  color: var(--white);
  border-top: none;
  border-bottom: none;
  position: relative;
}

.testimonials .section-eyebrow {
  color: var(--gold);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-title::after {
  background: var(--gold);
}

.testimonials .section-lead {
  color: rgba(255, 255, 255, 0.92);
}

.testimonials-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1140px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  padding: 12px 4px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slider-track .testimonial-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 0;
}

@media (min-width: 680px) {
  .slider-track .testimonial-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (min-width: 1024px) {
  .slider-track .testimonial-card {
    flex: 0 0 calc(33.333% - 13.33px);
  }
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  z-index: 5;
}

.slider-arrow:hover {
  background: var(--red);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.slider-dot.active {
  background: var(--gold);
  width: 26px;
  border-radius: 6px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 3px;
}

.testimonial-text {
  font-style: italic;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-head);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.author-name {
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
}

.author-loc {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 2px;
}

/* Reusable Red Section Utility Class */
.section-red {
  background: linear-gradient(135deg, #9E1320 0%, #C8202F 50%, #8A0E18 100%);
  color: var(--white);
}

.section-red .section-eyebrow {
  color: var(--gold);
}

.section-red .section-title {
  color: var(--white);
}

.section-red .section-title::after {
  background: var(--gold);
}

.section-red .section-lead {
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================================
   PRIVACY POLICY MODAL (TDPSA)
   ===================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 29, 66, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  overflow: hidden;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 30px;
  background: var(--navy);
  color: var(--white);
  border-bottom: 4px solid var(--gold);
  position: relative;
}

.modal-header h2 {
  color: var(--white);
  font-size: 1.2rem;
  font-family: var(--font-head);
  padding-right: 36px;
}

.modal-subtitle {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
  background: var(--red);
  color: var(--white);
}

.modal-body {
  padding: 28px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-section h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-family: var(--font-head);
}

.privacy-section p {
  color: var(--ink);
  margin-bottom: 6px;
}

.privacy-section ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
}

.privacy-section li {
  color: var(--ink);
}

.privacy-contact-box {
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.privacy-contact-box p {
  margin-bottom: 4px;
}

.modal-footer {
  padding: 16px 30px;
  background: rgba(10, 42, 94, 0.04);
  border-top: 1px solid rgba(10, 42, 94, 0.1);
  text-align: right;
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.form-privacy-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.form-privacy-note a:hover {
  color: var(--red);
}

/* =====================================================================
   FOCUS VISIBILITY (a11y) & reduced motion
   ===================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}