/* ============================================
   SOLUCIONES MCP — Design System
   "The Kinetic Architect"
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Foundational */
  --surface: #f4f7fa;
  --surface-bright: #f4f7fa;
  --surface-dim: #cfd5da;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #edf1f4;
  --surface-container: #e4e9ec;
  --surface-container-high: #dee3e7;
  --surface-container-highest: #d8dee2;
  --surface-variant: #d8dee2;
  --background: #f4f7fa;

  /* Primary */
  --primary: #0055c4;
  --primary-dim: #004aad;
  --primary-container: #739eff;
  --primary-fixed: #739eff;
  --primary-fixed-dim: #5a90ff;
  --on-primary: #f0f2ff;
  --on-primary-container: #002053;
  --inverse-primary: #558dff;

  /* Secondary */
  --secondary: #8800de;
  --secondary-dim: #7700c4;
  --secondary-container: #e7c5ff;
  --secondary-fixed: #e7c5ff;
  --secondary-fixed-dim: #ddb3ff;
  --on-secondary: #fbeeff;
  --on-secondary-container: #6c00b1;

  /* Tertiary */
  --tertiary: #006a33;
  --tertiary-dim: #005c2b;
  --tertiary-container: #3fff8b;
  --tertiary-fixed: #3fff8b;
  --tertiary-fixed-dim: #24f07e;
  --on-tertiary: #cdffd3;
  --on-tertiary-container: #005d2c;

  /* Error */
  --error: #b31b25;
  --error-dim: #9f0519;
  --error-container: #fb5151;
  --on-error: #ffefee;
  --on-error-container: #570008;

  /* On Surface */
  --on-surface: #2b2f32;
  --on-surface-variant: #585c5f;
  --on-background: #2b2f32;
  --inverse-surface: #0b0f11;
  --inverse-on-surface: #9a9da0;

  /* Outline */
  --outline: #73777a;
  --outline-variant: #aaadb0;

  /* Surface Tint */
  --surface-tint: #0055c4;

  /* Roundedness */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--on-surface);
  background-color: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* --- Typography --- */
.font-headline {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

.display-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--on-surface);
}

.headline-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.headline-md {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.title-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.body-lg {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.body-md {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

.label-md {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.label-sm {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
}

/* --- Layout --- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-16) 0;
}

/* --- Glassmorphism --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(170, 173, 176, 0.15);
}

.glass-panel-strong {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(170, 173, 176, 0.12);
}

/* --- Kinetic Gradient --- */
.kinetic-gradient {
  background: linear-gradient(-45deg, #0055c4, #8800de, #006a33, #739eff);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Ambient Glow --- */
.ambient-glow {
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ambient-glow:hover {
  box-shadow: 0 24px 48px -12px rgba(0, 85, 196, 0.15);
  transform: translateY(-4px) scale(1.02);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px -4px rgba(0, 85, 196, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px -4px rgba(0, 85, 196, 0.45);
  transform: translateY(-2px) scale(1.03);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary .btn-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.btn-primary:hover .btn-gradient-overlay {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(170, 173, 176, 0.15);
  color: var(--primary);
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-secondary:hover {
  background: var(--surface-container-low);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 85, 196, 0.25);
  transition: all 0.3s ease;
}

.btn-nav:hover {
  box-shadow: 0 6px 16px rgba(0, 85, 196, 0.35);
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px -4px rgba(0, 85, 196, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit .btn-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-submit:hover .btn-gradient-overlay {
  opacity: 1;
}

.btn-submit:hover {
  box-shadow: 0 12px 32px -4px rgba(0, 85, 196, 0.45);
}

.btn-submit span,
.btn-submit .material-symbols-outlined {
  position: relative;
  z-index: 1;
}

.btn-submit:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.btn-submit .material-symbols-outlined {
  transition: transform 0.3s ease;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(244, 247, 250, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(244, 247, 250, 0.92);
  box-shadow: 0 1px 0 rgba(170, 173, 176, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--on-surface-variant);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  left: auto;
  bottom: auto;
  width: 14rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(170, 173, 176, 0.15);
  box-shadow: 0 16px 32px -8px rgba(0, 50, 120, 0.15);
  z-index: 150;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-mobile a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--on-surface);
  transition: color 0.3s ease;
  width: 100%;
}

.nav-mobile a:hover {
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--on-surface);
}

.hero-title .accent {
  color: var(--primary);
  font-style: italic;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-container {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.15);
  transform: rotate(3deg);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-container:hover {
  transform: rotate(0deg);
}

.hero-image-container img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.1);
  max-width: 18rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-badge .material-symbols-outlined {
  color: var(--tertiary);
  font-size: 2.25rem;
}

.hero-badge p {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* --- Services Section --- */
.services {
  background: var(--surface-container-low);
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.services-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-label {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.services-description {
  color: var(--on-surface-variant);
  max-width: 20rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

/* Featured card takes 2x2 */
.service-card-featured {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-featured:hover {
  box-shadow: 0 24px 48px -12px rgba(0, 85, 196, 0.15);
}

.service-card-featured-image {
  height: 16rem;
  overflow: hidden;
}

.service-card-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-featured:hover .service-card-featured-image img {
  transform: scale(1.08);
}

.service-card-featured-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-featured .material-symbols-outlined {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-card-featured h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-card-featured p {
  color: var(--on-surface-variant);
  font-weight: 300;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 1.5rem;
  transition: gap 0.3s ease;
}

.service-card-featured:hover .service-card-link {
  gap: 1rem;
}

/* Standard service cards */
.service-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 85, 196, 0.15);
  transform: translateY(-4px);
}

.service-card .material-symbols-outlined {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: block;
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.service-card .icon-primary { color: var(--primary); }
.service-card .icon-secondary { color: var(--secondary); }
.service-card .icon-tertiary { color: var(--tertiary); }

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--on-surface);
}

.service-card p {
  color: var(--on-surface);
  font-size: 0.95rem;
  font-weight: 500;
}

.service-card-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 8rem;
  margin-top: 1.5rem;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Testimonials Section --- */
.testimonials {
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-title .accent {
  color: var(--primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(170, 173, 176, 0.15);
}

.testimonial-card-featured {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 24px 48px -12px rgba(0, 85, 196, 0.25);
  transform: translateY(1rem);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars .material-symbols-outlined {
  font-size: 1.25rem;
}

.testimonial-card-glass .testimonial-stars .material-symbols-outlined {
  color: var(--tertiary);
}

.testimonial-card-featured .testimonial-stars .material-symbols-outlined {
  color: var(--tertiary-container);
}

.testimonial-text {
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card-glass .testimonial-avatar {
  background: var(--primary-container);
}

.testimonial-card-featured .testimonial-avatar {
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* --- Contact Section --- */
.contact {
  background: var(--surface-container-high);
  position: relative;
}

.contact-wrapper {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
  display: flex;
}

.contact-info {
  flex: 1;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.contact-title .accent {
  color: var(--secondary);
}

.contact-subtitle {
  color: var(--on-surface-variant);
  max-width: 24rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-primary {
  background: rgba(0, 85, 196, 0.1);
  color: var(--primary);
}

.contact-icon-tertiary {
  background: rgba(0, 106, 51, 0.1);
  color: var(--tertiary);
}

.contact-icon-secondary {
  background: rgba(136, 0, 222, 0.1);
  color: var(--secondary);
}

.contact-item-label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.contact-item-value {
  font-size: 1.125rem;
}

/* Contact Form */
.contact-form-wrapper {
  flex: 1;
  background: var(--surface-container-low);
  padding: 4rem 5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-container-lowest);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem;
  font-size: 1rem;
  color: var(--on-surface);
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
  box-shadow: inset 0 -2px 8px rgba(0, 85, 196, 0.06);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

/* --- Footer --- */
.footer {
  background: var(--surface);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .logo {
  font-size: 1.375rem;
}

.footer-brand p {
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  max-width: 20rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab:active {
  transform: scale(0.95);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.star-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-image-wrapper {
    max-width: 28rem;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-featured {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin: 0 auto;
  }

  .testimonial-card-featured {
    transform: none;
  }

  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .btn-nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .hero {
    padding-top: 10rem;
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-featured {
    grid-column: auto;
  }

  .services-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding-top: 11rem;
  }

  .section {
    padding: 3rem 0;
  }
}
