/* ============================================================
   Miller-Boldt, Inc. — Main Stylesheet
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--sand);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--blue-deep);
  line-height: 1.2;
}

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

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

section[id] {
  scroll-margin-top: 90px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 61, 107, 0.05);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 54px;
  width: auto;
  display: block;
}

/* ---------- Desktop Nav ---------- */
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 6px;
  transition: var(--transition);
}

nav a:hover {
  color: var(--blue-dark);
  background: var(--blue-ice);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

/* ---------- Mobile Toggle ---------- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 32px;
  color: var(--blue-deep);
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--blue-ice);
}

.mobile-menu .nav-cta {
  margin-top: 16px;
  background: var(--blue);
  color: var(--white) !important;
  padding: 14px 40px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(59, 140, 203, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(14, 61, 107, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-deeper) 45%, var(--blue-dark) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    /* Fine blueprint grid */
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    /* Major section grid */
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  z-index: 1;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -80px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-left {
  position: relative;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s 0.15s ease-out both;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-pale);
}

.hero-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s 0.3s ease-out both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.45s ease-out both;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--blue-deep);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Hero Stat Cards ---------- */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeSlideUp 0.8s 0.5s ease-out both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--orange);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-4px);
  border-left-color: var(--orange-light);
}

.stat-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  line-height: 1.4;
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--warm-100);
  padding: 32px 0;
}

.trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

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

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid var(--warm-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

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

/* Per-service accent colors */
.service-card:nth-child(1)::before { background: #E85D3A; }
.service-card:nth-child(2)::before { background: var(--blue); }
.service-card:nth-child(3)::before { background: #4A9B7F; }
.service-card:nth-child(4)::before { background: #7B6CB7; }
.service-card:nth-child(5)::before { background: var(--orange); }
.service-card:nth-child(6)::before { background: #3B8CCB; }

.service-card:nth-child(1) .service-icon { background: #FEF0EC; }
.service-card:nth-child(1) .service-icon svg { color: #E85D3A; }
.service-card:nth-child(2) .service-icon { background: var(--blue-ice); }
.service-card:nth-child(2) .service-icon svg { color: var(--blue); }
.service-card:nth-child(3) .service-icon { background: #ECF5F1; }
.service-card:nth-child(3) .service-icon svg { color: #4A9B7F; }
.service-card:nth-child(4) .service-icon { background: #F0EDF7; }
.service-card:nth-child(4) .service-icon svg { color: #7B6CB7; }
.service-card:nth-child(5) .service-icon { background: #FEF3E8; }
.service-card:nth-child(5) .service-icon svg { color: var(--orange); }
.service-card:nth-child(6) .service-icon { background: var(--blue-ice); }
.service-card:nth-child(6) .service-icon svg { color: #3B8CCB; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--blue-deep);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================== ABOUT ===================== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 18px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-year {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.about-year-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-highlight {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-highlight svg {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.about-highlight span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-accent {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--white);
  color: var(--blue-deep);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border-left: 4px solid var(--orange);
}

.about-accent-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.about-accent-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  color: var(--text-muted);
}

/* ===================== PROJECTS ===================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.project-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--warm-100);
  border-top: 4px solid var(--warm-200);
  padding: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-image svg {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 1;
}

/* Blueprint grid overlay on project images */
.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.project-image--industrial {
  background: linear-gradient(135deg, #c0392b 0%, #E85D3A 50%, #d45a3a 100%);
}

.project-image--municipal {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 50%, var(--blue-dark) 100%);
}

.project-image--corporate {
  background: linear-gradient(135deg, #c86a15 0%, var(--orange) 50%, var(--orange-light) 100%);
}

.project-body {
  padding: 28px 36px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

/* Type-specific top borders */
.project-card:nth-child(1) { border-top-color: #E85D3A; }
.project-card:nth-child(2) { border-top-color: var(--blue); }
.project-card:nth-child(3) { border-top-color: var(--orange); }

.project-card:nth-child(1):hover { border-top-color: #E85D3A; }
.project-card:nth-child(2):hover { border-top-color: var(--blue); }
.project-card:nth-child(3):hover { border-top-color: var(--orange); }

.project-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
}

.project-card:nth-child(1) .project-type { color: #E85D3A; background: #FEF0EC; }
.project-card:nth-child(2) .project-type { color: var(--blue); background: var(--blue-ice); }
.project-card:nth-child(3) .project-type { color: var(--orange); background: #FEF3E8; }

.project-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--warm-100);
  font-size: 0.82rem;
  color: var(--warm-400);
  font-weight: 500;
}

.project-meta svg {
  width: 16px;
  height: 16px;
}

/* ===================== CTA / CONTACT ===================== */
.cta-section {
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-deeper) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(59, 140, 203, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(59, 140, 203, 0.08) 0%, transparent 40%);
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.cta-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
}

.cta-inner > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ---------- Contact Layout (Form + Methods) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  text-align: left;
  max-width: 1040px;
  margin: 0 auto;
}

/* ---------- Quote Form ---------- */
.quote-form-wrap {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 40px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
}

.form-group label .required {
  color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--blue-deep);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(59, 140, 203, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e85d3a;
  box-shadow: 0 0 0 3px rgba(232, 93, 58, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(229, 122, 31, 0.3);
  align-self: flex-start;
  margin-top: 4px;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  background: var(--orange-light);
  box-shadow: 0 8px 28px rgba(229, 122, 31, 0.4);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-form-submit svg {
  width: 18px;
  height: 18px;
}

.form-status {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.success {
  background: rgba(74, 155, 127, 0.15);
  border: 1px solid rgba(74, 155, 127, 0.3);
  color: #7EDBB8;
}

.form-status.error {
  background: rgba(232, 93, 58, 0.15);
  border: 1px solid rgba(232, 93, 58, 0.3);
  color: #F4A68E;
}

/* ---------- Contact Methods Sidebar ---------- */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-methods h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0;
}

.contact-methods-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 4px;
}

.contact-method-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.contact-method-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.contact-method-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.contact-method-value {
  font-size: 1.02rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}

a.contact-method-value:hover {
  color: var(--blue-pale);
}

.contact-method-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

/* ===================== AFFILIATIONS MARQUEE ===================== */
.affiliations-section {
  background: var(--white);
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid var(--warm-100);
}

.affiliations-header {
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 0 32px;
  text-align: center;
}

.affiliations-header .section-tag {
  justify-content: center;
}

.affiliations-header .section-tag::before {
  display: none;
}

.affiliations-header .section-tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.affiliations-header h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.affiliations-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.marquee-wrapper {
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  padding: 12px 0;
}

.marquee-wrapper:active {
  cursor: grabbing;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.marquee-track.paused .marquee-set {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 45s linear infinite;
  flex-shrink: 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.35s ease;
  text-decoration: none;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ===================== FOOTER ===================== */
footer {
  background: #071828;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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