/* AUCO — Clean Typography & Word Spacing Architecture */

:root {
  --bg-primary: #070708;
  --bg-secondary: #0e0e11;
  --bg-card: #121216;
  --bg-glass: rgba(10, 10, 12, 0.84);
  --bg-glass-mobile: rgba(14, 14, 17, 0.95);
  
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.22);
  --border-active: rgba(255, 255, 255, 0.4);
  
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --text-subtle: #6e6e73;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", sans-serif;
  
  --max-width: 1040px;
  --small-width: 680px;
  
  --section-padding-v: clamp(3.2rem, 5.5vw, 4.8rem);
  --container-padding-h: clamp(1.4rem, 4vw, 2.5rem);
  
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-motion: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}

/* Ambient Background Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 580px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.045) 0%, rgba(7, 7, 8, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 9s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

/* Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding-h);
  padding-right: var(--container-padding-h);
  width: 100%;
}

.small-container {
  max-width: var(--small-width);
}

.text-center {
  text-align: center;
}

/* HEADER & STICKY NAV */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s var(--ease-apple), border-color 0.4s var(--ease-apple), padding 0.35s var(--ease-apple);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-hairline);
  padding: 0.75rem 0;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding-h);
  padding-right: var(--container-padding-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  z-index: 110;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-apple);
}

.logo-link:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.auco-logo {
  height: 20px;
  width: auto;
  color: var(--text-main);
  transition: filter 0.3s ease;
}

.logo-link:hover .auco-logo {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-apple);
  padding: 0.3rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition: width 0.35s var(--ease-apple);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 110;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 1.25rem;
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.35s var(--ease-apple), border-color 0.35s var(--ease-apple), color 0.35s var(--ease-apple), transform 0.25s var(--ease-apple), box-shadow 0.35s ease;
  border: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--text-main);
  color: #000;
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn-full {
  width: 100%;
  min-height: 44px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 50%;
}

.mobile-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text-main);
  transition: transform 0.35s var(--ease-apple);
  border-radius: 1px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* PAGE VIEWS */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-apple), transform 0.5s var(--ease-apple);
  position: relative;
  z-index: 1;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- MOTION TYPOGRAPHY & WORD SPACING FIX --- */

.motion-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.28em; /* Guarantees natural spacing between words */
}

.motion-line:last-child {
  margin-right: 0;
}

.motion-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.85s var(--ease-apple), opacity 0.85s var(--ease-apple);
  will-change: transform, opacity;
}

.reveal.visible .motion-word {
  opacity: 1;
  transform: translateY(0%);
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.85s var(--ease-apple), transform 0.85s var(--ease-apple);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* FULL-SCREEN HERO SECTION WITH FULL-SIZE BACKGROUND VIDEO */
.full-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.15) brightness(0.92);
  transform: translateZ(0) scale(1.01);
  backface-visibility: hidden;
  will-change: transform, filter;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(7, 7, 8, 0.55) 0%, 
    rgba(7, 7, 8, 0.2) 35%, 
    rgba(7, 7, 8, 0.25) 65%, 
    rgba(7, 7, 8, 0.95) 100%
  );
  pointer-events: none;
}

.hero-text-block {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--text-subtle);
  font-weight: 500;
  display: block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

/* HERO TITLE — CLEAN MOTION TYPOGRAPHY */
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  display: block;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtext {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: #c2c2c7;
  font-weight: 300;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 1.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  margin-bottom: 0.6rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-apple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0;
}

.link-btn:hover {
  opacity: 0.85;
  transform: translateX(5px);
}

/* 1. QUOTE SECTION — CLEAN BALANCED TYPOGRAPHY */
.minimal-quote-section {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
  border-bottom: 1px solid var(--border-hairline);
}

.quote-text {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: -0.015em;
  margin: 0 auto;
  max-width: 800px;
}

.quote-text .white-text {
  color: var(--text-main);
  font-weight: 400;
  transition: text-shadow 0.4s ease;
}

.quote-text:hover .white-text {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

/* 2. PRODUCTS OVERVIEW SECTION */
.products-section {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
  border-bottom: 1px solid var(--border-hairline);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-subtle);
  font-weight: 500;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
}

.minimal-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
}

.product-item {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  padding: clamp(1.2rem, 1.8vw, 1.6rem);
  transition: transform 0.4s var(--ease-apple), border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.product-item:hover {
  border-color: var(--border-focus);
  transform: translateY(-6px);
  background: var(--bg-card);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.product-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  aspect-ratio: 16 / 10;
  width: 100%;
  max-height: 200px;
  margin-bottom: 0.9rem;
  background: #09090b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05);
  transition: transform 0.6s var(--ease-apple);
}

.product-item:hover .product-img {
  transform: scale(1.04);
}

.product-cat {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-subtle);
  font-weight: 500;
  display: block;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  font-weight: 500;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.product-desc {
  font-size: clamp(0.82rem, 1.05vw, 0.88rem);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.text-link {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: clamp(0.8rem, 0.95vw, 0.84rem);
  font-weight: 400;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-apple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  opacity: 0.75;
  transform: translateX(4px);
}

/* 3. CLOSING BANNER */
.closing-section {
  padding-top: clamp(3.5rem, 6vw, 5.2rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.2rem);
}

.closing-text {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.6rem;
}

/* 4. ABOUT US SECTION SPACING & HERO TITLE */
.about-hero-section {
  padding-top: clamp(4.5rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

.about-hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
  white-space: normal; /* Allows natural line flow for multi-word heading */
}

.about-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto;
}

.narrative-section {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
  border-bottom: 1px solid var(--border-hairline);
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.narrative-title {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.narrative-body {
  font-size: clamp(0.88rem, 1.1vw, 0.94rem);
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}

.narrative-quote {
  font-size: clamp(1.02rem, 1.45vw, 1.15rem);
  font-weight: 400;
  color: var(--text-main);
  border-left: 1px solid var(--text-main);
  padding-left: 1.1rem;
  margin: 1.4rem 0;
  line-height: 1.5;
}

.narrative-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  transition: transform 0.4s var(--ease-apple), border-color 0.4s ease;
}

.narrative-image-wrapper:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.narrative-img {
  width: 100%;
  height: clamp(240px, 30vw, 320px);
  object-fit: cover;
  display: block;
}

/* PILLARS SECTION */
.pillars-section {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
  border-bottom: 1px solid var(--border-hairline);
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
}

.pillar-box {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  transition: transform 0.4s var(--ease-apple), border-color 0.4s ease;
}

.pillar-box:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
}

.pillar-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--text-subtle);
  font-weight: 500;
  display: block;
  margin-bottom: 0.6rem;
}

.pillar-heading {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.pillar-desc {
  font-size: clamp(0.82rem, 1.05vw, 0.88rem);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* NEWSLETTER */
.minimal-newsletter-section {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
}

.newsletter-heading {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.newsletter-sub {
  font-size: clamp(0.85rem, 1.1vw, 0.92rem);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.6rem;
}

.minimal-form {
  max-width: 420px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.6rem;
}

.minimal-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  border-radius: 980px;
  padding: 0.65rem 1.1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  min-height: 40px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.minimal-input::placeholder {
  color: var(--text-subtle);
}

.minimal-input:focus {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.08);
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #34c759;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-apple);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-apple);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.modal-backdrop.open .modal-box {
  transform: scale(1);
}

.modal-narrow {
  max-width: 400px;
}

.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, background 0.25s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
}

.modal-logo {
  height: 17px;
  margin-bottom: 1rem;
}

.modal-heading {
  font-size: clamp(1.2rem, 1.8vw, 1.38rem);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.minimal-preorder-form .field {
  margin-bottom: 0.95rem;
}

.minimal-preorder-form .minimal-input {
  width: 100%;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-hairline);
  padding-top: clamp(2rem, 3vw, 2.8rem);
  padding-bottom: clamp(2rem, 3vw, 2.8rem);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 17px;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-subtle);
}

.footer-right {
  display: flex;
  gap: 1.8rem;
}

.footer-nav-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.footer-nav-link:hover {
  color: var(--text-main);
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .full-hero {
    height: auto;
    min-height: 90vh;
    padding-top: 5rem;
  }

  .hero-title {
    white-space: normal;
  }

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

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-glass-mobile);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-apple);
    z-index: 100;
  }

  .nav-menu.mobile-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .minimal-products-grid, .pillars-row, .narrative-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .product-item {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .product-media {
    aspect-ratio: 16 / 10;
    max-height: 220px;
    margin-bottom: 0.75rem;
  }

  .product-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .product-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .form-row, .minimal-contact-form .field-row {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .form-row .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  }
}

/* CONTACT PAGE STYLING */
.contact-section {
  padding-top: var(--section-padding-v);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--border-hairline);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-apple);
}

.contact-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.contact-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
}

.contact-details .sub-detail {
  font-size: 0.76rem;
  color: var(--text-subtle);
  margin-top: 0.2rem;
}

.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.minimal-contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.minimal-contact-form .field {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.minimal-select, .minimal-textarea {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.minimal-select:focus, .minimal-textarea:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.minimal-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .contact-info-wrapper {
    gap: 0.9rem;
  }

  .contact-card {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    gap: 1rem;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .contact-details h4 {
    font-size: 0.9rem;
  }

  .contact-details p {
    font-size: 0.82rem;
  }

  .contact-form-wrapper {
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
  }

  .contact-form-title {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
  }

  .minimal-contact-form .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .minimal-input, .minimal-select, .minimal-textarea {
    font-size: 1rem; /* Prevents auto-zoom on mobile safari */
    padding: 0.8rem 0.9rem;
    min-height: 46px;
    border-radius: 10px;
  }

  .minimal-textarea {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1rem;
  }

  .contact-form-wrapper {
    padding: 1.2rem 1rem;
  }
}
