/* ============================================
   EQUITAS DATA SOLUTIONS — Organic / Natural
   Design System Implementation
   ============================================ */

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --background: #FDFCF8;
  --foreground: #2C2C24;
  --primary: #5D7052;
  --primary-foreground: #F3F4F1;
  --secondary: #C18C5D;
  --secondary-foreground: #FFFFFF;
  --accent: #E6DCCD;
  --accent-foreground: #4A4A40;
  --muted: #F0EBE5;
  --muted-foreground: #78786C;
  --border: #DED8CF;
  --destructive: #A85448;

  /* Surfaces */
  --card-bg: #FEFEFA;
  --card-border: rgba(222, 216, 207, 0.5);

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(93, 112, 82, 0.15);
  --shadow-float: 0 10px 40px -10px rgba(193, 140, 93, 0.2);
  --shadow-deep: 0 20px 40px -10px rgba(93, 112, 82, 0.15);

  /* Typography Scale (1.25) */
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Radius */
  --radius-soft: 1rem;
  --radius-card: 2rem;
  --radius-pill: 999px;
}

/* --- Smooth Scrolling --- */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Global Styles --- */
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper Grain Texture Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.4rem, 3.5vw, 3rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

/* --- Layout --- */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

/* ============================================
   NAVIGATION — Floating Organic Pill
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.site-header .container {
  background: rgba(253, 252, 248, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  padding: 0 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--foreground);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  background: transparent;
  padding: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--primary);
  background: rgba(93, 112, 82, 0.08);
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(93, 112, 82, 0.1);
  font-weight: 700;
}

.nav-links .button {
  padding: 8px 20px;
  margin-left: 4px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(93, 112, 82, 0.08);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(93, 112, 82, 0.15);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu Panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 16px;
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 36, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
}

.mobile-menu-panel {
  background: var(--background);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-top: 80px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
  width: 100%;
  align-self: flex-end;
}

.mobile-menu-panel a {
  display: block;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--foreground);
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a.active {
  background: rgba(93, 112, 82, 0.1);
  color: var(--primary);
}

.mobile-menu-panel .button {
  text-align: center;
  margin-top: 8px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   BUTTONS — Organic Pills
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px -2px rgba(93, 112, 82, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px -4px rgba(93, 112, 82, 0.25);
}

.button:active {
  transform: scale(0.95);
}

.button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Ghost / Outline Variant */
.button--ghost {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  box-shadow: none;
  padding: 12px 30px;
}

.button--ghost:hover {
  background: rgba(193, 140, 93, 0.08);
  box-shadow: 0 4px 16px -4px rgba(193, 140, 93, 0.2);
}

/* On dark backgrounds */
.section--accent .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.section--accent .button--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.12);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Decorative Blob Backgrounds */
.blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: rgba(93, 112, 82, 0.2);
  top: -120px;
  right: -100px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(193, 140, 93, 0.15);
  bottom: -80px;
  left: -60px;
  border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
}

.blob--3 {
  width: 350px;
  height: 350px;
  background: rgba(230, 220, 205, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin: 18px 0 28px;
  line-height: 1.75;
  max-width: 640px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

/* Muted Background — Stone tint */
.section--muted {
  background: rgba(240, 235, 229, 0.3);
}

/* Accent Background — Deep Moss */
.section--accent {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section--accent h2,
.section--accent h3,
.section--accent h4 {
  color: var(--primary-foreground);
}

/* Sand-tinted sections */
.section--sand {
  background: rgba(230, 220, 205, 0.2);
}

/* Terracotta accent */
.section--warm {
  background: var(--secondary);
  color: #fff;
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header .eyebrow {
  margin-bottom: 12px;
}

.challenge-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

/* ============================================
   ICON LIST
   ============================================ */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.icon-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.icon-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 7px;
  opacity: 0.6;
}

.bridge-text {
  margin-top: 28px;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* Challenges Section — Two-Column with Image */
.challenges-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .challenges-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.challenges-image {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.challenges-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.challenges-image:hover {
  transform: rotate(-1deg);
  box-shadow: var(--shadow-deep);
}

.challenges-image:hover img {
  transform: scale(1.05);
}

/* ============================================
   CARDS — Organic Shapes
   ============================================ */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 28px;
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Cycling asymmetric radii for cards */
.card:nth-child(6n+1) { border-radius: 2rem 2rem 4rem 2rem; }
.card:nth-child(6n+2) { border-radius: 4rem 2rem 2rem 2rem; }
.card:nth-child(6n+3) { border-radius: 2rem 4rem 2rem 2rem; }
.card:nth-child(6n+4) { border-radius: 2rem 2rem 2rem 4rem; }
.card:nth-child(6n+5) { border-radius: 3rem 2rem 3rem 2rem; }
.card:nth-child(6n+6) { border-radius: 2rem 3rem 2rem 3rem; }

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.card h3 {
  color: var(--foreground);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.card-link:hover::after {
  transform: translateX(2px);
}

/* ============================================
   ICON BADGE — Service Numbers
   ============================================ */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(93, 112, 82, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.card:hover .icon-badge {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ============================================
   SERVICE DETAIL LAYOUT
   ============================================ */
.service-detail {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.service-visual {
  border-radius: 2rem;
  min-height: 220px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.service-detail:hover .service-visual {
  transform: rotate(-1deg);
  box-shadow: var(--shadow-float);
}

.service-detail:hover .service-visual img {
  transform: scale(1.05);
}

/* ============================================
   HIGHLIGHT / TRUST SECTION
   ============================================ */
.highlight {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .highlight {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

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

@media (min-width: 480px) {
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-grid > div {
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.highlight-grid > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.highlight-grid h4 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--foreground);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-details p {
  margin: 8px 0;
  color: var(--muted-foreground);
}

.form {
  display: grid;
  gap: 18px;
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9rem;
}

input,
textarea,
select {
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--foreground);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  height: 48px;
}

textarea {
  border-radius: 1.5rem;
  height: auto;
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(93, 112, 82, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.about-card {
  background: var(--card-bg);
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

.about-card ul {
  padding-left: 18px;
  color: var(--muted-foreground);
}

.profile {
  display: grid;
  gap: 12px;
}

.profile h3 {
  margin-bottom: 4px;
}

.profile p {
  margin: 0;
  color: var(--muted-foreground);
}

/* ============================================
   METRICS / STATS
   ============================================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.metrics h3 {
  margin-bottom: 6px;
  font-size: 1.6rem;
  color: var(--primary);
}

.metrics p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* ============================================
   HERO CARD
   ============================================ */
.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-float);
}

.hero-card ul {
  padding-left: 18px;
  color: var(--muted-foreground);
}

.hero-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ============================================
   PILLS
   ============================================ */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-grid span {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pill-grid span:hover {
  background: rgba(93, 112, 82, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .timeline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.timeline-item {
  padding: 24px;
  border-left: 3px solid var(--primary);
  background: var(--card-bg);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  border-top: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--foreground);
  color: var(--accent);
  padding: 60px 0 24px;
  position: relative;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.footer a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-foreground);
}

.footer h4 {
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(230, 220, 205, 0.15);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.logo--footer {
  color: var(--primary-foreground);
  margin-bottom: 12px;
}

.logo--footer img {
  border: none;
}

.footer p {
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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

/* ============================================
   MAP
   ============================================ */
.map {
  width: 100%;
  border: 0;
  border-radius: var(--radius-card);
  min-height: 280px;
}

/* ============================================
   CONTACT SECTION — Dark Variant
   ============================================ */
.contact {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.contact h2 {
  color: var(--primary-foreground);
}

.contact p {
  color: rgba(243, 244, 241, 0.8);
}

.contact .form {
  background: rgba(253, 252, 248, 0.95);
  border-color: rgba(222, 216, 207, 0.3);
}

.contact-illustration {
  width: 100%;
  max-width: 380px;
  margin-top: 32px;
  opacity: 0.9;
  border-radius: 2rem;
}

.contact label {
  color: var(--foreground);
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 480px) {
  .hero {
    padding: 80px 0 60px;
  }

  h1 {
    font-size: 2rem;
  }

  .cta {
    flex-direction: column;
  }

  .cta .button {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .card {
    padding: 22px;
  }

  .form {
    padding: 22px;
  }
}

@media (max-width: 900px) {
  .logo {
    font-size: 0.85rem;
  }
}

/* ============================================
   MISC UTILITIES
   ============================================ */
.card--link span {
  margin-top: 16px;
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
}
