/* ============================================================
   Tre Ford Investments Inc. — Site #11
   Design: Royal Blue + Silver — Diagonal Zigzag / 3D Flip / Timeline / Carousel / Circular / Split / Countdown
   ============================================================ */

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

:root {
  --royal: #1e40af;
  --royal-dark: #1a3694;
  --royal-light: #2554d3;
  --silver: #94a3b8;
  --silver-light: #cbd5e1;
  --accent2: #60a5fa;
  --ice: #f8fafc;
  --bg: #ffffff;
  --text: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.2; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--bg);
  color: var(--royal);
  border-color: var(--bg);
}

.btn-primary:hover {
  background: var(--ice);
  border-color: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}

.btn-outline:hover {
  background: var(--bg);
  color: var(--royal);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-solid {
  background: var(--royal);
  color: var(--bg);
  border-color: var(--royal);
}

.btn-solid:hover {
  background: var(--royal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1rem 0;
}

.nav.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bg);
  transition: color var(--transition);
}

.nav.scrolled .nav-logo {
  color: var(--royal);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  transition: fill var(--transition);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent2);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-links a:hover { color: var(--bg); }
.nav.scrolled .nav-links a:hover { color: var(--royal); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--bg);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav.scrolled .nav-hamburger span {
  background: var(--royal);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO: Diagonal Zigzag Ribbons --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ice);
}

.hero-ribbons {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-ribbon {
  position: absolute;
  left: -15%;
  width: 140%;
  height: 30vh;
  z-index: 1;
}

.hero-ribbon-1 {
  top: 8%;
  height: 35vh;
  background: var(--royal);
  transform: skewY(-5deg);
  z-index: 3;
}

.hero-ribbon-2 {
  top: 36%;
  height: 32vh;
  background: var(--accent2);
  transform: skewY(-4deg);
  z-index: 2;
  opacity: 0.85;
}

.hero-ribbon-3 {
  top: 60%;
  height: 40vh;
  background: var(--silver);
  transform: skewY(-6deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--bg);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- SECTION HEADINGS --- */
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-heading .accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--royal);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- SERVICES: 3D Flip Cards --- */
.services {
  padding: 6rem 0;
  background: var(--bg);
}

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

.flip-card {
  perspective: 1200px;
  height: 360px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-front {
  background: var(--ice);
  border: 1px solid var(--silver-light);
  text-align: center;
  align-items: center;
  gap: 0.75rem;
}

.flip-card-front .flip-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.flip-card-front h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.flip-card-front .flip-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flip-card-back {
  background: var(--royal);
  color: var(--bg);
  transform: rotateY(180deg);
  justify-content: flex-start;
  overflow-y: auto;
}

.flip-card-back h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--bg);
}

.flip-card-back p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.flip-card-back ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.flip-card-back ul li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.flip-card-back ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-size: 0.75rem;
}

.flip-card-back .flip-link {
  color: var(--accent2);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
  margin-top: auto;
}

.flip-card-back .flip-link:hover {
  gap: 0.6rem;
}

/* --- ABOUT: Company Timeline --- */
.about {
  padding: 6rem 0;
  background: var(--ice);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--silver-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--royal);
  border: 3px solid var(--bg);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--silver-light);
}

.timeline-content {
  width: 42%;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--royal);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 3px solid var(--accent2);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--royal);
  margin-bottom: 0.4rem;
  letter-spacing: -0.5px;
}

.timeline-item:nth-child(even) .timeline-year {
  color: var(--accent2);
}

.timeline-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- INDUSTRIES: Auto Carousel --- */
.industries {
  padding: 6rem 0;
  background: var(--bg);
}

.carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 3rem 2rem;
  text-align: center;
}

.carousel-slide .slide-icon {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  display: block;
}

.carousel-slide h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.carousel-slide p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--silver-light);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--royal);
  transform: scale(1.3);
}

.carousel-dot:hover {
  background: var(--silver);
}

/* --- APPROACH: Circular Flow Diagram --- */
.approach {
  padding: 6rem 0;
  background: var(--ice);
}

.circular-flow {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.circular-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: var(--royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.3);
}

.circular-center span {
  color: var(--bg);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}

.flow-node {
  position: absolute;
  width: 170px;
  text-align: center;
  z-index: 5;
}

.flow-node-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.flow-node-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.flow-node-bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.flow-node-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.flow-node-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 3px solid var(--royal);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--royal);
  margin-bottom: 0.5rem;
}

.flow-node h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.flow-node p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Arcs connecting nodes using CSS border */
.flow-arc {
  position: absolute;
  border: 3px solid var(--silver-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.flow-arc-top-right {
  top: 10%;
  right: 10%;
  width: 40%;
  height: 40%;
  border-color: var(--silver-light) var(--silver-light) transparent transparent;
  transform: rotate(-45deg);
}

.flow-arc-right-bottom {
  bottom: 10%;
  right: 10%;
  width: 40%;
  height: 40%;
  border-color: transparent var(--silver-light) var(--silver-light) transparent;
  transform: rotate(-45deg);
}

.flow-arc-bottom-left {
  bottom: 10%;
  left: 10%;
  width: 40%;
  height: 40%;
  border-color: transparent transparent var(--silver-light) var(--silver-light);
  transform: rotate(-45deg);
}

.flow-arc-left-top {
  top: 10%;
  left: 10%;
  width: 40%;
  height: 40%;
  border-color: var(--silver-light) transparent transparent var(--silver-light);
  transform: rotate(-45deg);
}

/* --- CONTACT: Full-Width Split Page --- */
.contact {
  display: flex;
  min-height: 100vh;
}

.contact-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--royal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.contact-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.contact-map .map-dot {
  position: absolute;
  top: 55%;
  left: 58%;
  width: 14px;
  height: 14px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(96, 165, 250, 0.2), 0 0 0 16px rgba(96, 165, 250, 0.1);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(96, 165, 250, 0.2), 0 0 0 16px rgba(96, 165, 250, 0.1);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(96, 165, 250, 0.15), 0 0 0 24px rgba(96, 165, 250, 0.05);
  }
}

.contact-map .map-roads {
  position: absolute;
  inset: 0;
}

.contact-map .map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
}

.contact-map .map-road-h {
  top: 45%;
  left: 0;
  width: 100%;
  height: 3px;
}

.contact-map .map-road-v {
  left: 30%;
  top: 0;
  width: 3px;
  height: 100%;
}

.contact-map .map-road-h2 {
  top: 70%;
  left: 0;
  width: 100%;
  height: 2px;
}

.contact-map .map-road-v2 {
  left: 65%;
  top: 0;
  width: 2px;
  height: 100%;
}

.contact-map-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.contact-map-overlay .map-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg);
}

.contact-map-overlay .map-sublabel {
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.contact-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg);
}

.contact-card {
  width: 100%;
  max-width: 460px;
}

.contact-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-card .contact-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--silver-light);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--ice);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

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

.form-error {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc2626;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: 10px;
  color: #065f46;
  font-weight: 600;
  font-size: 1rem;
}

.form-success.visible {
  display: block;
}

.contact-info-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--silver-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-info-bottom a {
  color: var(--royal);
  font-weight: 500;
}

.contact-info-bottom a:hover {
  text-decoration: underline;
}

/* --- CTA: Countdown Offer --- */
.cta {
  padding: 5rem 0;
  background: var(--royal);
  text-align: center;
  color: var(--bg);
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta .cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.countdown-block {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  min-width: 90px;
  backdrop-filter: blur(4px);
}

.countdown-block .countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  letter-spacing: -1px;
}

.countdown-block .countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
  display: block;
}

.cta .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand svg {
  width: 30px;
  height: 30px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- SCROLL ANIMATIONS --- */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 400ms ease;
    gap: 1.5rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--text-secondary) !important;
    font-size: 1.05rem;
  }

  .nav-hamburger {
    display: flex;
  }

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

  .timeline-line {
    left: 1.5rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-dot {
    left: 1.5rem;
  }

  .timeline-content {
    width: calc(100% - 2.5rem);
    margin-left: 3rem;
  }

  .timeline-item:nth-child(even) .timeline-content {
    border-left: 3px solid var(--royal);
    border-right: none;
  }

  .timeline-item:nth-child(even) .timeline-year {
    color: var(--royal);
  }

  .contact {
    flex-direction: column;
    min-height: auto;
  }

  .contact-left {
    min-height: 280px;
  }

  .flow-node {
    width: 130px;
  }

  .flow-node p {
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .hero-ribbon-1 { top: 5%; height: 30vh; }
  .hero-ribbon-2 { top: 32%; height: 28vh; }
  .hero-ribbon-3 { top: 55%; height: 35vh; }

  .hero-content h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 320px;
  }

  .circular-flow {
    max-width: 360px;
  }

  .flow-node {
    width: 100px;
  }

  .flow-node h4 { font-size: 0.85rem; }
  .flow-node p { font-size: 0.7rem; }

  .circular-center {
    width: 100px;
    height: 100px;
  }

  .circular-center span {
    font-size: 0.9rem;
  }

  .countdown {
    gap: 0.75rem;
  }

  .countdown-block {
    min-width: 70px;
    padding: 1rem;
  }

  .countdown-block .countdown-number {
    font-size: 1.75rem;
  }

  .contact-map .map-label {
    font-size: 1rem;
  }
}
