/* ==========================================================================
   ECOFAR SRL — Static Website Stylesheet
   Design System: "The Architectural Authority" Editorial Ledger
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Playfair+Display:wght@500..900&family=Manrope:wght@200..800&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Primary */
  --primary: #001e40;
  --primary-container: #003366;
  --primary-fixed: #d5e3ff;
  --on-primary: #ffffff;

  /* Surfaces */
  --surface: #f8f9fb;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-container-high: #e6e8ea;
  --surface-container-highest: #e0e3e5;
  --on-surface: #191c1e;
  --on-surface-variant: #43474f;

  /* Secondary */
  --secondary: #4c616c;
  --secondary-container: #cfe6f2;
  --on-secondary-container: #526772;

  /* Outline */
  --outline-variant: #c3c6d1;

  /* Error */
  --error: #ba1a1a;

  /* Typography */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-display: 'Playfair Display', 'Newsreader', Georgia, serif;
  --font-sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  /* Shadows */
  --shadow-editorial: 0 16px 32px -8px rgba(25, 28, 30, 0.04);
  --shadow-card: 0 4px 16px -4px rgba(25, 28, 30, 0.06);
  --shadow-hover: 0 8px 24px -4px rgba(25, 28, 30, 0.10);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--on-surface-variant);
  max-width: 65ch;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.label-primary {
  color: var(--primary);
}

/* --- Layout Utilities --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

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

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--surface-container-low);
  color: var(--on-surface);
  border: 1px solid rgba(195, 198, 209, 0.2);
}

.btn-secondary:hover {
  background: var(--surface-container);
}

.btn-outline {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid rgba(195, 198, 209, 0.3);
}

.btn-outline:hover {
  background: var(--surface-container-low);
}

.btn-white {
  background: var(--surface-container-lowest);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 249, 251, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(195, 198, 209, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--on-surface);
}

.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--on-surface);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.header-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 251, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  padding: 2rem 1.5rem;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(195, 198, 209, 0.15);
}

.mobile-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }
}

/* --- Hero Sections --- */
.hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-home {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  padding-top: 6rem;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-home h1,
.hero-home p {
  color: var(--on-primary);
}

.hero-home p {
  opacity: 0.85;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}

.hero-home-content {
  padding: 3rem 0 2rem;
}

.hero-home-content .label {
  color: var(--primary-fixed);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-home-content h1 {
  color: var(--on-primary);
  margin-bottom: 1.5rem;
}

.hero-home-content h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-home-content p {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.375rem;
  padding: 0.75rem 1.25rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.hero-badge-text .label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.625rem;
  display: block;
}

.hero-badge-text span:last-child {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--on-primary);
}

.hero-home-image {
  position: relative;
}

.hero-home-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.75rem 0.75rem 0 0;
}

@media (min-width: 768px) {
  .hero-home {
    padding-top: 7rem;
    padding-bottom: 0;
  }
  .hero-home-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero-home-content {
    padding: 4rem 0 4rem;
  }
  .hero-home-image img {
    height: 520px;
    border-radius: 0.75rem 0.75rem 0 0;
  }
}

@media (min-width: 1024px) {
  .hero-home-content {
    padding: 5rem 0 5rem;
  }
  .hero-home-image img {
    height: 600px;
  }
}

/* --- Cards --- */
.card {
  background: var(--surface-container-lowest);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(195, 198, 209, 0.1);
  transition: all var(--transition-medium);
}

.card:hover {
  box-shadow: var(--shadow-card);
}

.card-dark {
  background: var(--primary);
  color: var(--on-primary);
}

.card-dark h3,
.card-dark h4,
.card-dark p {
  color: var(--on-primary);
}

.card-dark p {
  opacity: 0.8;
}

.card-surface {
  background: var(--surface-container-low);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--surface-container-low);
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card-dark .card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-primary);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card .label {
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Services Bento Grid (Home) --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

  .bento-grid .card:nth-child(1) {
    grid-column: span 7;
  }
  .bento-grid .card:nth-child(2) {
    grid-column: span 5;
  }
  .bento-grid .card:nth-child(3) {
    grid-column: span 5;
  }
  .bento-grid .card:nth-child(4) {
    grid-column: span 7;
  }
}

/* --- Stats / Trust Section --- */
.stats-section {
  background: var(--surface-container-low);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: start;
    gap: 3rem;
  }
}

.stat-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--primary);
}

.stat-item .label {
  margin-bottom: 0.25rem;
  display: block;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.stat-description {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  margin-top: 0.25rem;
}

/* --- Insight / Article Card --- */
.insight-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--primary);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.insight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.insight-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--on-primary);
}

.insight-card-content h3 {
  color: var(--on-primary);
  margin-bottom: 0.5rem;
}

.insight-card-content p {
  color: var(--on-primary);
  opacity: 0.8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.insight-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insight-link:hover {
  opacity: 0.8;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--on-primary);
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  color: var(--on-primary);
  opacity: 0.8;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* --- Services Page --- */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(195, 198, 209, 0.15);
}

.service-row:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 3rem;
  }
}

.service-tier {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  min-width: 80px;
  padding-top: 0.25rem;
}

.service-info h3 {
  margin-bottom: 0.75rem;
}

.service-info p {
  font-size: 0.9375rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-feature-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.875rem;
  background: var(--surface-container-low);
  border-radius: 2rem;
  color: var(--on-surface-variant);
  white-space: nowrap;
}

/* Trust Signal */
.trust-section {
  background: var(--surface-container-low);
}

.trust-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-card {
    grid-template-columns: 1fr auto;
  }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* --- About Page --- */
.about-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-hero-image {
    height: 450px;
  }
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.principles-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

  .principles-bento .card:nth-child(1) {
    grid-column: span 8;
  }
  .principles-bento .card:nth-child(2) {
    grid-column: span 4;
  }
  .principles-bento .card:nth-child(3) {
    grid-column: span 5;
  }
  .principles-bento .card:nth-child(4) {
    grid-column: span 7;
  }
}

.principle-number {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
  display: block;
}

/* Profile card in about */
.profile-card {
  text-align: center;
}

.profile-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  filter: grayscale(20%);
}

.profile-card:hover img {
  filter: grayscale(0%);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.form-card {
  background: var(--surface-container-lowest);
  border-radius: 0.75rem;
  padding: 2.5rem;
  border: 1px solid rgba(195, 198, 209, 0.1);
}

.form-card h3 {
  margin-bottom: 1.5rem;
}

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

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  border: 1px solid rgba(195, 198, 209, 0.2);
  border-radius: 0.375rem;
  background: var(--surface-container-low);
  color: var(--on-surface);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 30, 64, 0.08);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.5;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Info cards on contact page */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--surface-container-lowest);
  border-radius: 0.75rem;
  padding: 1.75rem;
  border: 1px solid rgba(195, 198, 209, 0.1);
}

.info-card h4 {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

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

.info-item svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.info-item .info-label {
  font-weight: 600;
  color: var(--on-surface);
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.125rem;
}

.info-item .info-value {
  color: var(--on-surface-variant);
}

/* Google Form embed */
.google-form-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--surface-container-lowest);
  border: 1px solid rgba(195, 198, 209, 0.1);
}

.google-form-wrapper iframe {
  width: 100%;
  min-height: 600px;
  border: none;
}

/* Map section */
.map-section {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: 3rem;
}

.map-section img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(248, 249, 251, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 0.375rem;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-overlay .label {
  font-size: 0.625rem;
}

.map-overlay span:last-child {
  font-size: 0.8125rem;
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: var(--surface-container-lowest);
  border-top: 1px solid rgba(195, 198, 209, 0.15);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(195, 198, 209, 0.15);
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom a {
  margin-left: 1rem;
}

.footer-bottom a:hover {
  color: var(--on-surface);
}

/* --- SVG Icons (inline) --- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Page-specific overrides --- */

/* Services page hero */
.hero-services,
.hero-about,
.hero-contact {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

/* Divider line */
.divider {
  border: none;
  height: 1px;
  background: rgba(195, 198, 209, 0.15);
  margin: 0;
}

/* Responsive text sizes */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  .cta-section {
    padding: 3.5rem 0;
  }
  .form-card {
    padding: 1.5rem;
  }
}
