/* ============================================
   Martin's eTax — Brand Styles
   Palette: Terracotta (#B85C38) + Sand (#F5EDE3)
   Fonts: Playfair Display (headlines) + Inter (body)
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-terracotta: #B85C38;
  --color-terracotta-dark: #9A4B2C;
  --color-terracotta-light: #D4845E;
  --color-sand: #F5EDE3;
  --color-sand-dark: #E8DDD0;
  --color-sand-light: #FBF7F3;
  --color-charcoal: #2A2420;
  --color-charcoal-light: #4A423A;
  --color-cream: #FFFDF9;
  --color-white: #FFFFFF;
  --color-text: #3A322A;
  --color-text-light: #7A7068;
  --color-border: #E8DDD0;
  --color-success: #4A7C59;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(42, 36, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(42, 36, 32, 0.08);
  --shadow-lg: 0 12px 48px rgba(42, 36, 32, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-mark {
  background: var(--color-terracotta-dark);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-terracotta);
  background: rgba(184, 92, 56, 0.06);
}

.nav-link--cta {
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav-link--cta:hover {
  background: var(--color-terracotta-dark);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--color-charcoal);
  padding: 8px;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  color: var(--color-terracotta);
  transform: rotate(90deg);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-link:hover {
  color: var(--color-terracotta);
}

.mobile-menu-link--cta {
  margin-top: 16px;
  background: var(--color-terracotta);
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(184, 92, 56, 0.3);
}

.btn--primary:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 92, 56, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-terracotta);
  border: 2px solid var(--color-terracotta);
}

.btn--ghost:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-terracotta);
  box-shadow: var(--shadow-md);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-terracotta);
  border-color: var(--color-white);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- Section Shared ---------- */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.7;
}

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

.accent-underline {
  position: relative;
  display: inline;
}

.accent-underline::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--color-terracotta-light);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--space-md) var(--space-xl);
  background: var(--color-sand-light);
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184, 92, 56, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 92, 56, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-terracotta);
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--color-terracotta);
}

.hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
}

.hero-image-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-terracotta);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: -12px;
  left: 24px;
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
}

.hero-image-badge svg {
  color: var(--color-success);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-terracotta), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Services Section ---------- */
.services {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- About Section ---------- */
.about {
  padding: var(--space-3xl) 0;
  background: var(--color-sand);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-section {
  position: relative;
}

.about-image-stack {
  position: relative;
  height: 520px;
}

.about-image-primary {
  width: 75%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-secondary {
  position: absolute;
  bottom: -24px;
  right: 0;
  width: 55%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-sand);
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: 20%;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.about-accent-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-accent-text {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.about-body p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.about-value:hover {
  border-color: var(--color-terracotta-light);
  box-shadow: var(--shadow-sm);
}

.about-value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
}

.about-value strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  margin-bottom: 2px;
}

.about-value span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ---------- Why Us Section ---------- */
.why-us {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.why-us-intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.why-us-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-us-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.why-us-item-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-terracotta);
  opacity: 0.4;
  min-width: 40px;
  padding-top: 2px;
}

.why-us-item strong {
  display: block;
  font-size: 1rem;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.why-us-item span {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.why-us-visual {
  position: relative;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us-image img {
  width: 100%;
  height: auto;
  display: block;
}

.why-us-quote {
  position: absolute;
  bottom: -32px;
  left: -32px;
  right: -24px;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-us-quote svg {
  opacity: 0.4;
  margin-bottom: var(--space-sm);
}

.why-us-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.why-us-quote-attribution {
  font-size: 0.85rem;
  opacity: 0.8;
  font-style: normal;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
  padding: var(--space-3xl) 0;
  background: var(--color-sand);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition);
}

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

.testimonial-card-quote {
  color: var(--color-terracotta);
  opacity: 0.3;
  margin-bottom: var(--space-sm);
}

.testimonial-card-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card-avatar {
  width: 40px;
  height: 40px;
  background: var(--color-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
}

.testimonial-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.testimonial-card-location {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--color-terracotta);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-banner-content {
  flex: 1;
  min-width: 280px;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner-title em {
  font-style: italic;
  opacity: 0.85;
}

.cta-banner-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- Contact Section ---------- */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-intro {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-detail:hover {
  border-color: var(--color-terracotta-light);
  box-shadow: var(--shadow-sm);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.contact-form-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-sand-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-input::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

.form-input:focus {
  border-color: var(--color-terracotta);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7068' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

/* Form Success */
.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(74, 124, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.form-success-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-sm);
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-terracotta);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ---------- Scroll Animations ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-image-wrapper {
    max-width: 480px;
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image-stack {
    height: 400px;
    max-width: 480px;
  }

  .why-us-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .why-us-quote {
    left: 0;
    right: 0;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .hero-stat-divider {
    display: none;
  }

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

  .about-image-stack {
    height: 320px;
  }

  .about-image-secondary {
    width: 60%;
  }

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

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner-actions {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .about-image-stack {
    height: 260px;
  }

  .about-accent-box {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: var(--space-sm);
  }

  .about-image-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    height: auto;
  }

  .about-image-primary,
  .about-image-secondary {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
  }

  .about-image-secondary {
    position: relative;
    bottom: 0;
    right: 0;
    border: none;
  }
}
