/*!
Theme Name: Inercia Theme
Description: Custom WordPress theme for Inercia - Energy efficiency and sustainable building solutions
Version: 1.0.2
Author: Development Team
*/

/* ==========================================================================
   CSS VARIABLES - DESIGN SYSTEM (FIGMA EXACT MATCH)
   ========================================================================== */

:root {
  /* Primary Colors - Exact Figma Matches */
  --color-primary-600: #093855; /* Primary Blue from Figma */
  --color-primary-500: #174f71; /* Medium-Dark Blue from Figma */
  --color-primary-400: #397396; /* Medium Blue from Figma */
  --color-primary-300: #6a97b9; /* Gradient end color */

  /* Accent Colors - Exact Figma Matches */
  --color-accent-400: #eb6929; /* Primary Orange from Figma */
  --color-accent-50: #fff7ed; /* Light Orange from Figma */

  /* Neutral Colors - Exact Figma Matches */
  --color-neutral-50: #faf7f5; /* Light background from Figma */
  --color-neutral-200: #efeae7; /* Light gray from Figma */
  --color-neutral-0: #000000; /* Pure black from Figma */
  --color-neutral-950: #ffffff; /* Pure white from Figma */

  /* Utility Colors */
  --white: #ffffff;
  --black: #000000;

  /* Gradient Definitions */
  --Dark-Gradient: linear-gradient(
    101deg,
    var(--color-primary-600, #093855) 8.79%,
    var(--color-primary-300, #6a97b9) 95.41%
  );
}

:root {
  /* Shadow System */
  --shadow-light: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Typography - Exact Figma Fonts with Fallbacks */
  --font-display: "Adobe Caslon Pro", "Playfair Display", "Georgia",
    "Times New Roman", serif; /* For headings */
  --font-body: "Adrianna", "Inter", "Roboto", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif; /* For body text */
  --font-roboto: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif; /* For buttons */

  /* Font Sizes - Exact Figma Specifications */
  --h1-size: 48px; /* Figma H1 size */
  --h1-weight: 600; /* Semibold */
  --h1-line-height: 1.235; /* Figma line height */

  --h2-size: 34px; /* Figma H2 size */
  --h2-weight: 600; /* Semibold */
  --h2-line-height: 1; /* Figma line height */

  --h3-size: 24px; /* Figma H3/body large size */
  --h3-weight: 400; /* Regular */
  --h3-line-height: 1.334; /* Figma line height */

  --body-size: 16px; /* Base font size from Figma */
  --body-weight: 400; /* Regular */
  --body-line-height: 1.75; /* Figma subtitle1 line height */

  --small-size: 14px;
  --caption-size: 12px;

  /* Layout & Grid - Figma Specifications */
  --container-width: 1440px; /* Figma canvas width */
  --section-padding: 56px; /* Standard section padding */
  --element-spacing: 24px; /* Standard element spacing */
  --border-radius-small: 8px;
  --border-radius-medium: 32px; /* Button radius from Figma */
  --border-radius-large: 100px; /* Image corner radius */

  /* Breakpoints */
  --breakpoint-mobile: 320px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1440px;
}

/* ==========================================================================
   HERO SECTION - FIGMA PIXEL PERFECT IMPLEMENTATION
   ========================================================================== */

.tw-hero-section {
  position: relative;
  overflow: hidden;
  background-image: url("assets/pages-assets/home/hero_1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Hero background overlay for depth */
.tw-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 56, 85, 0.85) 0%,
    rgba(57, 115, 150, 0.6) 50%,
    rgba(9, 56, 85, 0.85) 100%
  );
  z-index: 1;
}

/* Ensure hero content is above the overlay */
.tw-hero-content {
  position: relative;
  z-index: 10;
}

/* Typography improvements - Figma matching */
.tw-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.tw-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   BUTTON SYSTEM - FIGMA PIXEL PERFECT IMPLEMENTATION
   ========================================================================== */

/* Primary Orange Button */
.tw-bg-orange-500 {
  background-color: var(--color-accent-400) !important;
  border-color: var(--color-accent-400) !important;
  box-shadow: 0 4px 14px 0 rgba(235, 105, 41, 0.25);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tw-bg-orange-500:hover {
  background-color: rgba(235, 105, 41, 0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(235, 105, 41, 0.35);
}

/* Secondary White Button */
.tw-border-white.tw-text-white {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: transparent;
}

.tw-border-white.tw-text-white:hover {
  background-color: white !important;
  color: var(--color-primary-600) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   COLOR SYSTEM OVERRIDES - EXACT FIGMA MATCH
   ========================================================================== */

/* Primary Blue System */
.tw-bg-blue-500 {
  background-color: var(--color-primary-400) !important;
}

.tw-bg-blue-600 {
  background-color: var(--color-primary-600) !important;
}

.tw-bg-blue-900 {
  background-color: var(--color-primary-600) !important;
}

.tw-text-blue-900 {
  color: var(--color-primary-600) !important;
}

.tw-text-blue-600 {
  color: var(--color-primary-400) !important;
}

/* ==========================================================================
   SERVICES SECTION - FIGMA PIXEL PERFECT IMPLEMENTATION
   ========================================================================== */

/* Service Cards Layout */
.service-card {
  background-color: var(--color-primary-400);
  border-radius: 1.5rem;
  padding: 2rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Service Card Hover Effect - Exact Figma Match */
.service-card:hover {
  background-color: white !important;
  color: var(--color-primary-600) !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-icon {
  background-color: var(--color-primary-400) !important;
  border-color: var(--color-primary-400) !important;
}

.service-card:hover .service-btn {
  opacity: 1 !important;
}

.service-card .service-btn {
  background-color: var(--color-primary-600);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: opacity 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

/* Active Service Card - Current Page State */
.service-card-active {
  background-color: white !important;
  color: var(--color-primary-600) !important;
  border: 2px solid var(--color-primary-600, #093855) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.15),
    0 4px 6px -2px rgba(0, 0, 0, 0.08);
}

.service-card-active .service-icon {
  background-color: var(--color-primary-400) !important;
  border-color: var(--color-primary-400) !important;
}

.service-card-active .service-btn {
  opacity: 1 !important;
  background-color: var(--color-primary-600) !important;
  color: white !important;
}

.service-card-active .service-title-servicios {
  color: var(--color-primary-600) !important;
}

.service-card-active .service-description {
  color: var(--color-primary-600) !important;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-primary-600);
  background-color: var(--white);
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1 {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--color-neutral-50);
  margin: 0 0 1rem 0;
  letter-spacing: 0.25px;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--color-primary-600);
  margin: 0 0 1rem 0;
  letter-spacing: 0.25px;
}

h3 {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
  color: var(--color-primary-600);
  margin: 0 0 1rem 0;
}

h4 {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-primary-600);
  margin: 0 0 1rem 0;
}

p {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  color: var(--color-primary-600);
  margin: 0 0 1rem 0;
}

.subtitle1 {
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: 1.75;
}

.subtitle2 {
  font-size: var(--small-size);
  font-weight: 500;
  line-height: 1.57;
}

.caption {
  font-size: var(--caption-size);
  font-weight: var(--body-weight);
  line-height: 1.66;
}

/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.container {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
  padding: 0 var(--grid-margin);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--grid-gutter) / -2);
}

.col {
  flex: 1;
  padding: 0 calc(var(--grid-gutter) / 2);
}

/* Column classes for 12-column grid */
.col-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}
.col-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}
.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.col-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}
.col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}
.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}
.col-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}
.col-11 {
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Responsive column classes */
@media (min-width: 768px) {
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-md-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  .col-lg-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Mobile First Approach */
@media (max-width: 767px) {
  :root {
    --grid-margin: 20px;
    --grid-gutter: 16px;
    --h1-size: 32px;
    --h2-size: 28px;
    --h3-size: 20px;
    --h4-size: 18px;
  }

  .container {
    padding: 0 var(--grid-margin);
  }

  [class*="col-"] {
    flex: 0 0 100%;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1439px) {
  :root {
    --grid-margin: 40px;
    --grid-gutter: 24px;
  }
}

/* Desktop */
@media (min-width: 1440px) {
  :root {
    --grid-margin: 96px;
    --grid-gutter: 32px;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

.border-radius-small {
  border-radius: var(--border-radius-small);
}
.border-radius-medium {
  border-radius: var(--border-radius-medium);
}

/* ==========================================================================
   BUTTONS - Exact Figma Design Match
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 8px 32px;
  height: 40px;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  text-decoration: none;
  text-align: center;
  border-radius: var(--border-radius-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  letter-spacing: 0.15px;
  text-transform: none;
  box-shadow: var(--shadow-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.75;
}

.btn-primary {
  background-color: var(--color-accent-400);
  color: var(--color-neutral-50);
}

.btn-primary:hover {
  background-color: var(--color-accent-400);
  color: var(--color-neutral-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(235, 105, 41, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--black);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-600);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--color-primary-600);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--color-primary-600);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 12px 40px;
  height: 48px;
  font-size: 18px;
}

.btn-sm {
  padding: 6px 24px;
  height: 32px;
  font-size: 14px;
}

/* ==========================================================================
   PROJECT FILTERING ENHANCEMENTS
   ========================================================================== */

/* Loading Overlay */
.projects-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
}

.projects-loading-overlay {
  justify-content: center;
  align-items: center;
}

.projects-loading-overlay .loading-spinner {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.projects-loading-overlay .spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 3px solid var(--color-neutral-200);
  border-top: 3px solid var(--color-accent-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.projects-loading-overlay p {
  font-size: 18px;
  color: var(--color-primary-600);
  margin: 0;
}

/* Project Filter Animations */
.projects-grid {
  position: relative;
  min-height: 300px;
}

#projects-container {
  transition: opacity 0.3s ease;
}

#projects-container.is-filtering {
  opacity: 0.7;
}

.project-item {
  transition: all 0.3s ease;
  transform-origin: center center;
}

.project-item.showing {
  animation: fadeInScale 0.5s ease forwards;
}

.project-item.hiding {
  animation: fadeOutScale 0.3s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutScale {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

/* Filter Button Enhancement */
.filter-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.filter-btn.active:after {
  width: 300px;
  height: 300px;
}

/* Responsive Loading Overlay */
@media (max-width: 768px) {
  .projects-loading-overlay .spinner {
    width: 40px;
    height: 40px;
  }

  .projects-loading-overlay p {
    font-size: 16px;
  }
}

/* Service Animation Classes */
.services-grid {
  position: relative;
  min-height: 300px;
}

#services-container {
  transition: opacity 0.3s ease;
}

#services-container.is-filtering {
  opacity: 0.7;
}

.service-item {
  transition: all 0.3s ease;
  transform-origin: center center;
}

.service-item.showing {
  animation: fadeInScale 0.5s ease forwards;
}

.service-item.hiding {
  animation: fadeOutScale 0.3s ease forwards;
}

/* ==========================================================================
   SERVICES ARCHIVE PAGE
   ========================================================================== */

/* Archive Header */
.servicios-archive-page .archive-header {
  text-align: center;
  padding: 60px 0 40px;
}

.servicios-archive-page .archive-title {
  font-size: var(--h1-size);
  color: var(--color-primary-600);
  margin-bottom: 1rem;
}

.servicios-archive-page .archive-description {
  font-size: var(--subtitle1);
  color: var(--color-neutral-700);
  max-width: 600px;
  margin: 0 auto;
}

/* Service Filters */
.service-filters {
  margin-bottom: 40px;
}

.service-filters .filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.service-filters .filter-btn {
  padding: 10px 20px;
  background-color: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--border-radius-small);
  font-size: var(--small-size);
  font-weight: 500;
  color: var(--color-neutral-800);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-filters .filter-btn:hover {
  background-color: var(--color-primary-100);
  border-color: var(--color-primary-400);
  color: var(--color-primary-600);
}

.service-filters .filter-btn.active {
  background-color: var(--color-primary-600);
  border-color: var(--color-primary-600);
  color: var(--white);
}

/* Services Grid */
.services-grid {
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  /* width controlled globally below */
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

/* Service Image */
.service-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-placeholder {
  height: 100%;
  background-color: var(--color-neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-600);
}

.service-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-accent-400);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--border-radius-small);
  font-size: var(--caption-size);
  font-weight: 500;
}

/* Service Content */
.service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-header {
  margin-bottom: 15px;
}

.service-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 24px;
  color: var(--color-primary-600);
}

.service-title-servicios {
  font-size: var(--h4-size);
  margin-bottom: 10px;
}

.service-title-servicios a {
  color: var(--color-primary-900);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title-servicios a:hover {
  color: var(--color-accent-500);
}

.service-excerpt {
  color: var(--color-neutral-700);
  font-size: var(--small-size);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Service Features */
.service-features {
  margin-bottom: 20px;
}

.service-features .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features .features-list li {
  font-size: var(--caption-size);
  color: var(--color-neutral-700);
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}

.service-features .feature-icon {
  color: var(--color-accent-400);
  margin-right: 8px;
  flex-shrink: 0;
}

.service-features .more-features {
  font-size: var(--caption-size);
  color: var(--color-neutral-600);
  font-style: italic;
  margin: 5px 0 0;
}

/* Service Footer */
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-neutral-200);
}

.service-price {
  display: flex;
  flex-direction: column;
}

.service-price .price-label {
  font-size: var(--caption-size);
  color: var(--color-neutral-600);
}

.service-price .price-value {
  font-size: var(--h4-size);
  font-weight: 600;
  color: var(--color-primary-600);
}

.service-link {
  color: var(--color-accent-500);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--small-size);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--color-accent-600);
}

.service-link .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover .arrow {
  transform: translateX(5px);
}

/* Services Loading */
.services-loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.services-loading-overlay .loading-spinner {
  text-align: center;
}

.services-loading-overlay .spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  border: 3px solid var(--color-neutral-200);
  border-top: 3px solid var(--color-accent-400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* No Services Found */
.no-services-found {
  text-align: center;
  padding: 80px 0;
}

.no-services-found h2 {
  color: var(--color-primary-600);
  margin-bottom: 1rem;
}

.no-services-found p {
  color: var(--color-neutral-700);
  margin-bottom: 2rem;
}

/* ==========================================================================
   SINGLE SERVICE PAGE
   ========================================================================== */

/* Service Header Section */
.single-servicio-page .service-header-section {
  background-color: var(--color-neutral-50);
  padding: 40px 0;
}

/* Breadcrumbs */
.service-breadcrumbs {
  font-size: var(--small-size);
  color: var(--color-neutral-600);
  margin-bottom: 30px;
}

.service-breadcrumbs .breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.service-breadcrumbs .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.service-breadcrumbs a {
  color: var(--color-neutral-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-breadcrumbs a:hover,
.service-breadcrumbs a:focus {
  color: var(--color-primary-600);
  text-decoration: underline;
}

.service-breadcrumbs .separator {
  margin: 0 10px;
  color: var(--color-neutral-400);
}

.service-breadcrumbs .current {
  color: var(--color-primary-600);
  font-weight: 500;
}

/* Service Meta Header */
.service-meta-header {
  margin-bottom: 20px;
}

.service-category {
  display: inline-block;
  margin-bottom: 15px;
}

.service-category .category-label {
  font-size: var(--caption-size);
  color: var(--color-neutral-600);
  margin-right: 8px;
}

.service-category .category-name {
  font-size: var(--small-size);
  font-weight: 500;
  color: var(--color-accent-500);
}

/* Service Details Header */
.service-details-header {
  margin-bottom: 20px;
}

.service-details-header .detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.service-details-header .detail-icon {
  font-size: 24px;
  margin-right: 15px;
  color: var(--color-primary-400);
}

.service-details-header .service-custom-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-600);
}

.service-details-header .detail-content {
  display: flex;
  flex-direction: column;
}

.service-details-header .detail-label {
  font-size: var(--caption-size);
  color: var(--color-neutral-600);
  margin-bottom: 2px;
}

.service-details-header .detail-value {
  font-size: var(--body-size);
  font-weight: 500;
  color: var(--color-neutral-900);
}

/* Single Service Title */
.single-servicio-page .service-title-servicios {
  font-size: var(--h1-size);
  color: var(--color-primary-900);
  margin-bottom: 0;
}

/* Featured Image */
.service-featured-image {
  margin-bottom: 60px;
}

.service-featured-image .featured-image-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
}

.service-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Service Content Section */
.service-content-section {
  padding: 60px 0;
}

.service-description {
  margin-bottom: 40px;
}

.service-description .content-text {
  font-size: var(--body-size);
  line-height: 1.8;
  color: var(--color-neutral-800);
}

.service-description h2,
.service-description h3 {
  color: var(--color-primary-600);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Service Benefits */
.service-benefits {
  margin-bottom: 40px;
}

.service-benefits h3 {
  color: var(--color-primary-600);
  margin-bottom: 30px;
}

.benefits-grid .benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background-color: var(--color-neutral-50);
  border-radius: var(--border-radius-small);
  transition: all 0.3s ease;
}

.benefits-grid .benefit-item:hover {
  background-color: var(--color-primary-50);
  box-shadow: var(--shadow-light);
}

.benefit-icon {
  font-size: 28px;
  color: var(--color-accent-400);
  margin-right: 15px;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: var(--h4-size);
  color: var(--color-primary-900);
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: var(--small-size);
  color: var(--color-neutral-700);
  margin: 0;
}

/* Service Gallery */
.service-gallery {
  margin-bottom: 40px;
}

.service-gallery h3 {
  color: var(--color-primary-600);
  margin-bottom: 30px;
}

.gallery-grid .gallery-item {
  margin-bottom: 30px;
}

.gallery-grid .gallery-thumbnail {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-small);
  transition: transform 0.3s ease;
}

.gallery-grid .gallery-item a:hover .gallery-thumbnail {
  transform: scale(1.03);
}

/* Service Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-section {
  background-color: var(--color-neutral-50);
  padding: 30px;
  border-radius: var(--border-radius-medium);
  margin-bottom: 30px;
}

.sidebar-section h4 {
  font-size: var(--h4-size);
  color: var(--color-primary-600);
  margin-bottom: 20px;
}

/* Service Summary */
.service-summary .summary-content {
  font-size: var(--body-size);
  color: var(--color-neutral-700);
  line-height: 1.7;
}

/* Service Features List */
.service-features-list .features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features-list .features-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-neutral-200);
  font-size: var(--small-size);
  color: var(--color-neutral-800);
  display: flex;
  align-items: center;
}

.service-features-list .features-list li:last-child {
  border-bottom: none;
}

.service-features-list .features-list i {
  color: var(--color-accent-400);
  margin-right: 10px;
  flex-shrink: 0;
}

/* Service Details List */
.service-details .details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details .details-list li {
  padding: 8px 0;
  font-size: var(--small-size);
  color: var(--color-neutral-700);
}

.service-details .details-list strong {
  color: var(--color-neutral-900);
}

/* Service CTA */
.service-cta {
  background-color: var(--color-primary-600);
  color: var(--white);
}

.service-cta h4 {
  color: var(--white);
}

.service-cta p {
  color: var(--color-primary-100);
  font-size: var(--small-size);
  margin-bottom: 20px;
}

.service-cta .btn-block {
  width: 100%;
  text-align: center;
}

.service-cta .cta-phone {
  margin-top: 20px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-cta .cta-phone p {
  margin-bottom: 10px;
}

.service-cta .phone-link {
  color: var(--white);
  font-size: var(--h4-size);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-cta .phone-link:hover {
  color: var(--color-accent-200);
}

.service-cta .phone-link i {
  margin-right: 10px;
}

/* Related Services Section */
.related-services-section {
  background-color: var(--color-neutral-50);
  padding: 60px 0;
}

.related-services-section .section-title {
  font-size: var(--h2-size);
  color: var(--color-primary-600);
  text-align: center;
  margin-bottom: 40px;
}

.related-service-card {
  background-color: var(--white);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.related-service-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.related-service-card .service-thumbnail {
  height: 200px;
  overflow: hidden;
}

.related-service-card .service-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-service-card:hover .service-thumbnail img {
  transform: scale(1.05);
}

.related-service-card .service-info {
  padding: 25px;
}

.related-service-card .service-name {
  font-size: var(--h4-size);
  margin-bottom: 10px;
}

.related-service-card .service-name a {
  color: var(--color-primary-900);
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-service-card .service-name a:hover {
  color: var(--color-accent-500);
}

.related-service-card .service-excerpt {
  color: var(--color-neutral-700);
  font-size: var(--small-size);
  margin-bottom: 15px;
}

.related-service-card .service-link {
  color: var(--color-accent-500);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--small-size);
  transition: color 0.3s ease;
}

.related-service-card .service-link:hover {
  color: var(--color-accent-600);
}

/* Back to Services Button */
.back-to-services {
  text-align: center;
  margin-top: 40px;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-primary-600);
  border: 2px solid var(--color-primary-600);
  padding: 12px 30px;
  display: inline-block;
  text-decoration: none;
  border-radius: var(--border-radius-small);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--color-primary-600);
  color: var(--white);
}

/* Responsive Styles for Services */
@media (max-width: 991px) {
  .service-sidebar {
    position: static;
    margin-top: 40px;
  }

  .service-details-header .row {
    flex-direction: column;
  }

  .service-details-header .col-md-4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .servicios-archive-page .archive-header {
    padding: 40px 0 30px;
  }

  .service-filters .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .service-filters .filter-btn {
    width: 100%;
  }

  .service-card {
    margin-bottom: 20px;
  }

  .single-servicio-page .service-title-servicios {
    font-size: 28px;
  }

  .benefits-grid .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .benefit-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .related-services-section {
    padding: 40px 0;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION STYLES
   ========================================================================== */

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999999;
  padding: 8px 16px;
  background-color: var(--color-primary-600);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius-small);
  font-size: var(--small-size);
}

.skip-link:focus {
  left: 6px;
  top: 7px;
}

/* Main Header Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(9, 56, 85, 0.08);
}

/* Top Bar Styles */
.header-top-bar {
  background-color: var(--color-primary-900);
  color: var(--white);
  padding: 10px 0;
  font-size: var(--small-size);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-accent-200);
}

.social-navigation .social-links-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.social-navigation .social-links-menu a {
  color: var(--white);
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-navigation .social-links-menu a:hover {
  color: var(--color-accent-200);
}

/* Main Header Styles */
.header-main {
  padding: 20px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Site Branding */
.site-branding {
  flex-shrink: 0;
}

.custom-logo {
  max-height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.custom-logo:hover {
  transform: scale(1.02);
}

.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary-600);
  letter-spacing: -0.5px;
}

.site-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--color-accent-400);
}

.site-description {
  margin: 4px 0 0 0;
  font-size: var(--small-size);
  color: var(--color-primary-600);
  opacity: 0.7;
}

/* Primary Navigation */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-primary-container {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--color-primary-600);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 12px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: 0.15px;
}

.nav-menu a:hover {
  color: var(--color-accent-400);
}

.nav-menu .current-menu-item a {
  color: var(--color-accent-400);
}

/* CTA Button */
.header-cta .btn-header-cta {
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  background-color: var(--color-accent-400);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.15px;
  cursor: pointer;
}

.header-cta .btn-header-cta:hover {
  background-color: #d45d28;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(235, 105, 41, 0.25);
}

.header-cta .btn-header-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(235, 105, 41, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-primary-600);
  font-family: var(--font-body);
  font-size: var(--caption-size);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(9, 56, 85, 0.05);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.3s ease;
}

.hamburger-icon .bar {
  width: 24px;
  height: 3px;
  background-color: var(--color-primary-600);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(1) {
  transform: rotate(90deg) translateX(6px);
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(2) {
}

.mobile-menu-toggle.active .hamburger-icon .bar:nth-child(3) {
  transform: rotate(90deg) translateX(-6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: opacity 0.3s ease;
}

.mobile-menu-open .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE HEADER STYLES
   ========================================================================== */

/* Tablet Styles */
@media (max-width: 991px) {
  .header-content {
    gap: 20px;
  }

  .nav-menu {
    gap: 20px;
  }

  .contact-info {
    gap: 20px;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  /* Hide top bar on mobile if needed */
  .header-top-bar {
    padding: 8px 0;
  }

  .top-bar-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    gap: 15px;
  }

  /* Main header mobile styles */
  .header-main {
    padding: 15px 0;
  }

  .header-content {
    justify-content: space-between;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }

  /* Right drawer navigation behavior */
  .menu-primary-container {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-heavy);
    z-index: 1001;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu-open .menu-primary-container {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--color-neutral-200);
  }

  .nav-menu a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
  }

  /* CTA button mobile */
  .header-cta {
    order: 2;
    margin-left: auto;
    margin-right: 15px;
  }

  .header-cta .btn-header-cta {
    padding: 8px 16px;
    font-size: var(--caption-size);
  }

  /* Mobile logo */
  .custom-logo {
    max-height: 45px;
  }

  .site-title {
    font-size: 22px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .header-top-bar {
    font-size: var(--caption-size);
  }

  .contact-info {
    flex-direction: column;
    gap: 8px;
  }

  .header-main {
    padding: 12px 0;
  }

  .custom-logo {
    max-height: 40px;
  }

  .site-title {
    font-size: 20px;
  }

  .header-cta .btn-header-cta {
    padding: 6px 12px;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
  background-color: var(--color-neutral-900);
  color: var(--color-neutral-100);
  padding: 60px 0 0;
}

/* Footer Main Content */
.footer-main {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-neutral-700);
}

.footer-section {
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section h3 {
  font-size: var(--h3-size);
}

.footer-section h4 {
  font-size: var(--h4-size);
}

/* Company Info Section */
.company-info .footer-logo-img {
  max-height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.company-description {
  margin-bottom: 20px;
  color: var(--color-neutral-300);
  line-height: 1.6;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-neutral-200);
}

.footer-contact .contact-item i {
  width: 18px;
  color: var(--color-accent-300);
}

.footer-contact .contact-item a {
  color: var(--color-neutral-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
  color: var(--color-accent-300);
}

/* Footer Menus */
.footer-menu,
.services-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li,
.services-menu li {
  margin-bottom: 8px;
}

.footer-menu a,
.services-menu a {
  color: var(--color-neutral-300);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.footer-menu a:hover,
.services-menu a:hover {
  color: var(--color-accent-300);
}

.view-all-link {
  font-weight: 500;
  color: var(--color-accent-400) !important;
}

/* Social Media */
.social-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  gap: 15px;
}

.social-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-neutral-700);
  color: var(--color-neutral-200);
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-menu a:hover {
  background-color: var(--color-accent-500);
  color: var(--white);
  transform: translateY(-2px);
}

/* Business Hours */
.business-hours h5 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: var(--small-size);
  font-weight: 600;
}

.business-hours p {
  color: var(--color-neutral-300);
  font-size: var(--small-size);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  /* background-color: var(--color-neutral-950); */
}

.copyright {
  color: var(--color-neutral-400);
  font-size: var(--small-size);
  margin: 0;
}

.legal-links {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.legal-links a {
  color: var(--color-neutral-400);
  text-decoration: none;
  font-size: var(--small-size);
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--color-accent-300);
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
  .footer-section {
    margin-bottom: 30px;
  }

  .legal-links {
    justify-content: center;
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 40px 0 0;
  }

  .footer-main {
    padding-bottom: 30px;
  }

  .footer-section {
    margin-bottom: 25px;
    text-align: center;
  }

  .footer-contact .contact-item {
    justify-content: center;
  }

  .social-menu {
    justify-content: center;
  }

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

  .legal-links {
    justify-content: center;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .legal-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE STYLES FOR ALL COMPONENTS
   ========================================================================== */

/* General Button Responsiveness */
@media (max-width: 767px) {
  .btn {
    font-size: var(--small-size);
    padding: 10px 20px;
  }

  .btn-lg {
    font-size: var(--body-size);
    padding: 12px 24px;
  }

  .btn-sm {
    font-size: var(--caption-size);
    padding: 8px 16px;
  }
}

/* Typography Responsive Adjustments */
@media (max-width: 767px) {
  h1,
  .h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  h2,
  .h2 {
    font-size: 26px;
    line-height: 1.1;
  }

  h3,
  .h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  h4,
  .h4 {
    font-size: 18px;
    line-height: 1.3;
  }

  h5,
  .h5 {
    font-size: 16px;
  }

  h6,
  .h6 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  h1,
  .h1 {
    font-size: 28px;
  }

  h2,
  .h2 {
    font-size: 24px;
  }

  h3,
  .h3 {
    font-size: 18px;
  }
}

/* Grid and Layout Responsive Improvements */
@media (max-width: 767px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Form Elements Responsive */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 15px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .form-group {
    width: 100%;
    margin-right: 0;
  }
}

/* Image Responsive Improvements */
@media (max-width: 767px) {
  img {
    height: auto;
  }

  .img-responsive {
    max-width: 100%;
    height: auto;
  }

  figure {
    margin: 0 0 20px 0;
  }

  figcaption {
    font-size: var(--small-size);
    padding: 10px 0;
  }
}

/* Table Responsive */
@media (max-width: 767px) {
  .table-responsive {
    border: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive table {
    min-width: 600px;
    margin-bottom: 0;
  }

  .table th,
  .table td {
    font-size: var(--small-size);
    padding: 8px;
  }
}

/* Content Spacing Responsive */
@media (max-width: 767px) {
  .section-padding {
    padding: 40px 0;
  }

  .section-padding-lg {
    padding: 60px 0;
  }

  .mb-5,
  .my-5 {
    margin-bottom: 2rem !important;
  }

  .mt-5,
  .my-5 {
    margin-top: 2rem !important;
  }

  .p-5 {
    padding: 2rem !important;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 30px 0;
  }

  .section-padding-lg {
    padding: 40px 0;
  }
}

/* Navigation Breadcrumbs Responsive */
@media (max-width: 767px) {
  .breadcrumb,
  .service-breadcrumbs .breadcrumb-list,
  .project-breadcrumbs .breadcrumb-list {
    font-size: var(--small-size);
    flex-wrap: wrap;
  }

  .breadcrumb li,
  .breadcrumb-list li {
    margin-bottom: 5px;
  }
}

/* Cards and Content Blocks Responsive */
@media (max-width: 767px) {
  .card {
    margin-bottom: 20px;
  }

  .card-body {
    padding: 20px;
  }

  .card-title {
    font-size: var(--h4-size);
    margin-bottom: 15px;
  }

  .card-text {
    font-size: var(--small-size);
  }
}

/* Archive Pages General Responsive */
@media (max-width: 767px) {
  .archive-header {
    padding: 30px 0 20px;
    text-align: center;
  }

  .archive-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .archive-description {
    font-size: var(--small-size);
    margin-bottom: 20px;
  }
}

/* Pagination Responsive */
@media (max-width: 767px) {
  .pagination {
    justify-content: center;
    margin: 30px 0;
  }

  .page-link {
    font-size: var(--small-size);
    padding: 8px 12px;
  }

  .page-item:not(.active) .page-link {
    display: none;
  }

  .page-item.active .page-link,
  .page-item:first-child .page-link,
  .page-item:last-child .page-link,
  .page-item:nth-child(2) .page-link,
  .page-item:nth-last-child(2) .page-link {
    display: block;
  }
}

/* Loading States Responsive */
@media (max-width: 767px) {
  .loading-overlay {
    padding: 40px 20px;
  }

  .loading-spinner .spinner {
    width: 30px;
    height: 30px;
  }

  .loading-text {
    font-size: var(--small-size);
    margin-top: 15px;
  }
}

/* General Content Areas Responsive */
@media (max-width: 767px) {
  .content-wrapper {
    padding: 20px 0;
  }

  .sidebar {
    margin-top: 40px;
  }

  .widget {
    margin-bottom: 30px;
  }

  .widget-title {
    font-size: var(--h4-size);
    margin-bottom: 15px;
  }
}

/* Utility Classes for Mobile */
@media (max-width: 767px) {
  .mobile-hide {
    display: none !important;
  }

  .mobile-show {
    display: block !important;
  }

  .mobile-text-center {
    text-align: center !important;
  }

  .mobile-text-left {
    text-align: left !important;
  }
}

@media (min-width: 768px) {
  .desktop-hide {
    display: none !important;
  }

  .desktop-show {
    display: block !important;
  }
}

/* ==========================================================================
   FIGMA HOMEPAGE SECTIONS - EXACT MATCH STYLES
   ========================================================================== */

/* Navigation Bar - Professional Clean Header */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 12px rgba(9, 56, 85, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  padding: 20px 0;
}

.nav-menu a {
  color: var(--color-primary-600);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 500;
  letter-spacing: 0.15px;
  line-height: 1.75;
  text-decoration: none;
  padding: 12px 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
  color: var(--color-accent-400);
}

.nav-menu .current-menu-item a {
  color: var(--color-accent-400);
}

/* Hero Section - Figma Match */
.hero-section {
  height: 632px;
  background: linear-gradient(
    180deg,
    var(--color-primary-600) 0%,
    var(--color-primary-300) 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 56px;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 728px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
  color: var(--color-neutral-50);
  letter-spacing: 0.25px;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero-arrows {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-arrows:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-arrow-left {
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-arrow-right {
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
}

/* Certifications Bar */
.certifications-bar {
  background: var(--white);
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.certifications-bar img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.certifications-bar img:hover {
  opacity: 1;
}

/* What We Do Section - Figma Match */
.que-hacemos-section {
  padding: 71px 56px 32px;
  background: var(--white);
}

.que-hacemos-content {
  display: flex;
  gap: 129px;
  align-items: center;
}

.que-hacemos-image {
  width: 381px;
  height: 564px;
  border-radius: var(--border-radius-large) 0 0 0;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.que-hacemos-text {
  width: 505px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-icon {
  width: 25.53px;
  height: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
  color: var(--color-primary-600);
  letter-spacing: 0.25px;
}

.section-description {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 133.4%;
  color: #093855;
}

.description-highlight {
  font-weight: bold;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 24px;
}

.benefit-dot {
  width: 16px;
  height: 16px;
  background-color: var(--color-accent-400);
  border-radius: 50%;
  flex-shrink: 0;
}

.benefit-text {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
  color: var(--color-primary-600);
}

.closing-text {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
  color: var(--color-primary-600);
}

.highlight-orange {
  color: var(--color-accent-400);
}

/* Statistics Section - Figma Match */
.statistics-section {
  background: var(--color-neutral-50);
  padding: var(--section-padding) 0;
  text-align: center;
}

.statistics-title {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  color: var(--color-primary-600);
  margin-bottom: 48px;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-small);
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-primary-400);
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--color-primary-600);
  line-height: 1.5;
}

/* Services Section - Figma Match */
.services-section {
  padding: var(--section-padding) 0;
  text-align: center;
}

.services-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  color: var(--color-primary-600);
  margin-bottom: 16px;
}

.services-description {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--color-primary-600);
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: linear-gradient(
    135deg,
    var(--color-primary-400) 0%,
    var(--color-primary-600) 100%
  );
  border-radius: var(--border-radius-small);
  padding: 40px 24px;
  text-align: center;
  color: var(--white);
  /* width controlled globally below */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   GLOBAL OVERRIDES
   ========================================================================== */

/* Enforce a consistent width for all service cards */
.service-card {
  width: 260px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  fill: var(--white);
}

.service-title-servicios {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.service-cta-button {
  background: var(--color-primary-600);
  color: var(--white);
  border-radius: var(--border-radius-medium);
  padding: 12px 24px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  display: inline-block;
  margin-top: auto;
}

/* Projects Section Header - Figma Match */
.projects-header {
  background: var(--color-neutral-50);
  padding: var(--section-padding) 0;
  text-align: center;
}

.projects-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  color: var(--color-primary-600);
}

.projects-title .highlight-bg {
  background: var(--color-primary-400);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 4px;
}

/* Project Cards - Figma Match */
.projects-section {
  padding: var(--section-padding) 0;
  background: var(--color-neutral-50);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius-small);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

.project-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-year {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-primary-600);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

.project-info {
  padding: 24px;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.project-tag {
  background: var(--color-accent-50);
  color: var(--color-accent-400);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.project-name {
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 600;
  color: var(--color-primary-600);
  margin-bottom: 8px;
}

.project-details {
  font-size: 14px;
  color: var(--color-primary-600);
  margin-bottom: 16px;
}

.project-link {
  background: var(--white);
  border: 1px solid #e0e0e0;
  color: var(--color-primary-600);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

/* Differentiators Section - Figma Match */
.differentiators-section {
  padding: var(--section-padding) 0;
  display: flex;
  gap: 120px;
  align-items: center;
}

.differentiators-text {
  flex: 1;
}

.differentiators-title {
  font-family: var(--font-body);
  font-size: var(--h3-size);
  color: var(--color-primary-600);
  margin-bottom: 24px;
}

.differentiators-title .highlight-orange {
  color: var(--color-accent-400);
}

.differentiators-description {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--color-primary-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.differentiators-diagram {
  flex: 1;
  position: relative;
  height: 400px;
}

.process-step {
  position: absolute;
  width: 120px;
  text-align: center;
}

.process-icon {
  width: 60px;
  height: 60px;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-600);
  line-height: 1.4;
}

/* Testimonials Section - Updated Design */
.testimonials-section {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.testimonials-section .testimonials-wrapper {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Content Left - Text Area (40% width) */
.testimonials-section .testimonials-content {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Section Header with Icon */
.testimonials-section .section-header {
  margin-bottom: 24px;
}

.testimonials-section .title-with-icon {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: flex-start;
}

.testimonials-section .section-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #eb6929;
}

/* Section Title */
.testimonials-section .section-title {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #333333;
  margin: 0;
  text-align: left;
  text-transform: uppercase;
}

/* Main Paragraph */
.testimonials-section .main-paragraph {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  margin: 0 0 16px 0;
}

.testimonials-section .main-paragraph strong {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  background-color: #e3f2fd;
  color: #0066cc;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  margin: 4px 0;
}

/* Bottom Paragraph */
.testimonials-section .bottom-paragraph {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  margin: 16px 0 0 0;
}

/* Content Right - Testimonial Card (60% width) */
.testimonials-section .testimonial-card {
  flex: 0 0 60%;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e9ecef;
  position: relative;
  min-height: 192px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.testimonials-section .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.testimonials-section .testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

/* Quote Icon */
.testimonials-section .quote-icon {
  margin-bottom: 24px;
  text-align: left;
  position: relative;
}

.testimonials-section .quote-icon svg {
  width: 64px;
  height: 64px;
  color: #eb6929;
  opacity: 0.8;
}

/* Testimonial Quote */
.testimonials-section .testimonial-quote {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 16px;
}

/* Author Info */
.testimonials-section .testimonial-author {
  border-top: 1px solid #e9ecef;
  padding-top: 24px;
  margin-top: auto;
}

.testimonials-section .author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonials-section .author-name {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.4;
}

.testimonials-section .author-position {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0066cc;
  margin: 0;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .testimonials-section .testimonials-wrapper {
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .testimonials-section {
    padding: 80px 40px;
  }

  .testimonials-section .testimonials-wrapper {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .testimonials-section .testimonials-content {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .testimonials-section .title-with-icon {
    justify-content: center;
  }

  .testimonials-section .testimonial-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 20px;
  }

  .testimonials-section .testimonials-wrapper {
    gap: 40px;
  }

  .testimonials-section .section-title {
    font-size: 28px;
  }

  .testimonials-section .main-paragraph,
  .testimonials-section .bottom-paragraph {
    font-size: 16px;
  }

  .testimonials-section .testimonial-quote {
    font-size: 16px;
  }

  .testimonials-section .testimonial-card {
    padding: 24px;
  }

  .testimonials-section .quote-icon svg {
    width: 48px;
    height: 48px;
  }

  .testimonials-section .title-with-icon {
    margin-bottom: 20px;
  }

  .testimonials-section .section-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 40px 16px;
  }

  .testimonials-section .section-title {
    font-size: 24px;
  }

  .testimonials-section .main-paragraph,
  .testimonials-section .bottom-paragraph {
    font-size: 14px;
  }

  .testimonials-section .testimonial-quote {
    font-size: 14px;
  }

  .testimonials-section .testimonial-card {
    padding: 20px;
  }

  .testimonials-section .author-name {
    font-size: 14px;
  }

  .testimonials-section .author-position {
    font-size: 12px;
  }

  .testimonials-section .section-icon {
    width: 32px;
    height: 32px;
  }

  .testimonials-section .quote-icon svg {
    width: 40px;
    height: 40px;
  }
}

/* Contact Section - Figma Match */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--color-primary-600) 0%,
    var(--color-primary-400) 100%
  );
  padding: var(--section-padding) 0;
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 500px;
}

.contact-image {
  flex: 1;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-small);
}

.contact-form-container {
  flex: 1;
  color: var(--white);
}

.contact-title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  color: var(--white);
  margin-bottom: 16px;
}

.contact-subtitle {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--white);
  margin-bottom: 24px;
}

.contact-description {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 2px solid rgba(9, 56, 85, 0.1);
  border-radius: var(--border-radius-small);
  font-family: var(--font-body);
  font-size: var(--body-size);
  background: var(--white);
  color: var(--color-primary-600);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(235, 105, 41, 0.3);
  box-shadow: 0 2px 8px rgba(235, 105, 41, 0.1);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-400);
  box-shadow: 0 0 0 3px rgba(235, 105, 41, 0.1);
}

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

.form-submit {
  background: var(--color-accent-400);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: var(--border-radius-medium);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--color-accent-400);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-submit.loading {
  position: relative;
  color: transparent;
}

.form-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Micro-interactions and Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply animations to sections on scroll (can be enhanced with JavaScript) */
.hero-section,
.stats-grid,
.what-we-do-section,
.services-section,
.projects-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Contact Form Messages */
.contact-message {
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  animation: slideInFromLeft 0.4s ease-out;
}

.contact-success {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.contact-error {
  background-color: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.contact-error ul {
  margin: 0;
  padding-left: 20px;
}

.contact-error li {
  margin: 4px 0;
}

/* Footer - Figma Match */
.site-footer {
  background-color: var(--color-primary-600);
  color: var(--white);
  padding: var(--section-padding) 0 24px;
}

.footer-main {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  gap: 48px;
  margin-bottom: 32px;
}

.footer-section h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--body-size);
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: var(--color-accent-400);
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-description {
  font-family: var(--font-body);
  font-size: var(--body-size);
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  display: inline-block;
  color: var(--color-accent-400);
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
}

/* Client Logos Section - Figma Match */
.client-logos-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.client-logos-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  opacity: 0.6;
}

.client-logo {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Styles for Figma Sections */
@media (max-width: 1200px) {
  .hero-section,
  .que-hacemos-section,
  .contact-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .que-hacemos-content {
    gap: 80px;
  }

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

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

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .que-hacemos-content,
  .differentiators-section,
  .testimonials-section,
  .contact-section {
    flex-direction: column;
    gap: 40px;
  }

  .que-hacemos-image {
    width: 100%;
    height: 300px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .client-logos-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
}

/* Testimonials Section - Que Hacemos Figma Match */
.testimonials-section {
  background-color: #f5f1ee; /* beige like que-hacemos */
  padding: 120px 0;
}

.testimonials-section .testimonials-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.testimonials-section .section-title {
  font-family: "Adobe Caslon Pro", serif;
  font-size: 48px;
  font-weight: 700;
  color: #093855;
  text-transform: none;
}

.testimonials-section .main-paragraph,
.testimonials-section .bottom-paragraph {
  font-family: "Adrianna", sans-serif;
  font-size: 18px;
  color: #093855;
}

.testimonials-section .main-paragraph strong {
  background: #d7e7f6;
  color: #093855;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Card */
.testimonials-section .testimonial-card {
  background: #ffffff;
  border: none;
  box-shadow: 0 12px 30px rgba(9, 56, 85, 0.12);
  border-radius: 20px;
  padding: 48px;
}

/* Bordered circular quote icon */
.testimonials-section .quote-icon.bordered {
  width: 88px;
  height: 88px;
  border: 2px solid #eb6929;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.testimonials-section .quote-icon.bordered span {
  font-family: "Adobe Caslon Pro", serif;
  font-size: 40px;
  color: #eb6929;
  line-height: 1;
}

/* Quote and author */
.testimonials-section .testimonial-quote {
  font-family: "Adobe Caslon Pro", serif;
  font-size: 24px;
  color: #093855;
  font-style: italic;
  margin-bottom: 40px;
}

.testimonials-section .author-name {
  font-family: "Adrianna", sans-serif;
  font-weight: 700;
  color: #eb6929;
}

.testimonials-section .author-position {
  color: #093855;
}

@media (max-width: 1024px) {
  .testimonials-section {
    padding: 80px 24px;
  }
  .testimonials-section .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonials-section .testimonial-card {
    padding: 32px;
  }
}

/* Testimonials slider dots */
.testimonials-slider {
  position: relative;
  padding-bottom: 48px;
}
.testimonials-slider .slides {
  position: relative;
  transition: height 280ms ease;
}
.testimonials-slider .slides > .testimonial-card {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.testimonials-slider .slides > .testimonial-card.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Dots anchored under active card */
.testimonials-slider .dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.testimonials-slider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e5ea;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials-slider .dot.active {
  background: #093855;
  transform: scale(1.1);
}

/* Testimonials Section - background and layout */
.testimonials-section {
  background-color: var(--color-neutral-200);
  padding: 120px 0;
}
.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
/* 50/50 columns with 8rem gap */
.testimonials-section .testimonials-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

/* Left column */
.testimonials-section .testimonials-content {
  max-width: 600px;
}
.testimonials-section .section-title {
  font-family: "Adobe Caslon Pro", serif;
  font-size: 48px;
  font-weight: 700;
  color: #093855;
  line-height: 1.1;
  margin: 0 0 24px 0;
  max-width: 22ch;
}

/* Paragraphs and highlight like Projects intro */
.testimonials-section .main-paragraph {
  margin: 0 0 16px 0;
  font-family: "Adrianna", sans-serif;
  font-size: 18px;
  color: #093855;
}
.testimonials-section .bottom-paragraph {
  margin: 12px 0 0 0;
  font-family: "Adrianna", sans-serif;
  font-size: 18px;
  color: #093855;
}
.testimonials-section .main-paragraph strong {
  background: var(--color-primary-300);
  padding: 8px 16px;
  display: inline-block;
  border-radius: 6px;
  color: #093855;
}

/* Right column - testimonial card */
.testimonials-section .testimonial-card {
  background: var(--color-neutral-50);
  border: 1px solid rgba(9, 56, 85, 0.08);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 1px 2px rgba(9, 56, 85, 0.04), 0 8px 24px rgba(9, 56, 85, 0.12);
}

/* Card content: smaller icon, more text width */
.testimonials-section .testimonial-content {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 24px;
  row-gap: 12px;
  align-items: start;
}
.testimonials-section .quote-icon.bordered {
  width: 44px;
  height: 44px;
  border: 2px solid #eb6929;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials-section .quote-icon.bordered img {
  width: 14px;
  height: 14px;
}

/* Quote text */
.testimonials-section .testimonial-quote {
  grid-column: 2;
  font-family: "Adrianna", sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: #093855;
  margin: 0 0 16px 0;
  font-style: italic;
}

/* Author block fixed */
.testimonials-section .testimonial-author {
  grid-column: 2;
  margin-top: 4px;
  border: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(9, 56, 85, 0.12);
}
.testimonials-section .author-name {
  font-family: "Adrianna", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #eb6929;
  margin: 0 0 4px 0;
  display: block;
}
.testimonials-section .author-position {
  font-family: "Adrianna", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #093855;
  display: block;
}

/* Slider dots keep anchored */
.testimonials-slider {
  position: relative;
  padding-bottom: 48px;
}
.testimonials-slider .slides {
  position: relative;
  transition: height 280ms ease;
}
.testimonials-slider .slides > .testimonial-card {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.testimonials-slider .slides > .testimonial-card.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.testimonials-slider .dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.testimonials-slider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e5ea;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials-slider .dot.active {
  background: #093855;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-section {
    padding: 80px 24px;
  }
  .testimonials-section .container {
    padding: 0;
  }
  .testimonials-section .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonials-section .section-title {
    max-width: none;
  }
  .testimonials-section .testimonial-content {
    grid-template-columns: 40px 1fr;
  }
}

/* Homepage Testimonials – scoped and enforced */
.homepage .testimonials-section {
  background-color: var(--color-neutral-200);
  padding: 120px 0;
}
.homepage .testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
.homepage .testimonials-section .testimonials-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.homepage .testimonials-section .testimonials-content {
  max-width: 600px;
}
.homepage .testimonials-section .section-title {
  font-family: "Adobe Caslon Pro", serif;
  font-size: 48px;
  font-weight: 700;
  color: #093855;
  line-height: 1.1;
  margin: 0 0 24px 0;
  max-width: 22ch;
}
.homepage .testimonials-section .main-paragraph {
  margin: 0 0 16px 0;
  font-family: "Adrianna", sans-serif;
  font-size: 18px;
  color: #093855;
}
.homepage .testimonials-section .bottom-paragraph {
  margin: 12px 0 0 0;
  font-family: "Adrianna", sans-serif;
  font-size: 18px;
  color: #093855;
}
.homepage .testimonials-section .main-paragraph strong {
  background: var(--color-primary-300);
  padding: 8px 16px;
  display: inline-block;
  border-radius: 6px;
  color: #093855;
}
.homepage .testimonials-section .testimonial-card {
  background: var(--color-neutral-50);
  border: 1px solid rgba(9, 56, 85, 0.08);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 1px 2px rgba(9, 56, 85, 0.04), 0 8px 24px rgba(9, 56, 85, 0.12);
}
.homepage .testimonials-section .testimonial-content {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 24px;
  row-gap: 12px;
  align-items: start;
}
.homepage .testimonials-section .quote-icon.bordered {
  width: 36px;
  height: 36px;
  border: 2px solid #eb6929;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.homepage .testimonials-section .quote-icon.bordered img {
  width: 12px;
  height: 12px;
}
.homepage .testimonials-section .testimonial-quote {
  grid-column: 2;
  font-family: "Adrianna", sans-serif;
  font-size: 20px;
  line-height: 32px;
  color: #093855;
  margin: 0 0 16px 0;
  font-style: italic;
}
.homepage .testimonials-section .testimonial-author {
  grid-column: 2;
  margin-top: 4px;
  border: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(9, 56, 85, 0.12);
}
.homepage .testimonials-section .author-name {
  font-family: "Adrianna", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #eb6929;
  margin: 0 0 4px 0;
  display: block;
}
.homepage .testimonials-section .author-position {
  font-family: "Adrianna", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #093855;
  display: block;
}
@media (max-width: 1024px) {
  .homepage .testimonials-section {
    padding: 80px 24px;
  }
  .homepage .testimonials-section .container {
    padding: 0;
  }
  .homepage .testimonials-section .testimonials-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .homepage .testimonials-section .section-title {
    max-width: none;
  }
  .homepage .testimonials-section .testimonial-content {
    grid-template-columns: 32px 1fr;
  }
}

/* Fix title overflow inside section-header (flex item cannot shrink with min-width:auto) */
.homepage .testimonials-section .section-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.homepage .testimonials-section .section-title {
  min-width: 0;
  flex: 1 1 auto;
}

/* Title spacing tighter */
.homepage .testimonials-section .section-title {
  margin: 0 0 8px 0;
}

/* Description (both paragraphs) per spec */
.homepage .testimonials-section .section-description p,
.homepage .testimonials-section .main-paragraph,
.homepage .testimonials-section .bottom-paragraph {
  color: var(--color-primary-600, #093855);
  font-feature-settings: "liga" off, "clig" off;
  font-family: "Adrianna", sans-serif;
  font-size: var(--font-size-15-rem, 1.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 133.4%; /* ~2.001rem */
}

/* One-line separation between paragraphs */
.homepage .testimonials-section .main-paragraph {
  margin: 0 0 2rem 0;
}
.homepage .testimonials-section .bottom-paragraph {
  margin: 0;
}

/* Remove space between title and description */
.homepage .testimonials-section .section-title {
  margin-bottom: 0 !important;
}
/* Ensure title wraps within section-header */
.homepage .testimonials-section .section-header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.homepage .testimonials-section .section-header .section-title {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

/* Homepage Testimonials – spacing and alignment fixes */
.homepage .testimonials-section .section-header {
  margin-bottom: 0 !important;
}
.homepage .testimonials-section .testimonials-content {
  position: relative;
  padding-left: 32px;
}
/* Place the decorative icon in the padding area so title and bajada align */
.homepage .testimonials-section .section-header .section-icon {
  position: absolute;
  left: 0;
  top: 6px;
  width: 26px;
  height: 14px;
}
/* Ensure the title wraps and shares the same left edge as the bajada */
.homepage .testimonials-section .section-header .section-title {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  margin-bottom: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Enlarge quote icon inside testimonial card */
.homepage .testimonials-section .quote-icon.bordered {
  width: 64px;
  height: 64px;
}
.homepage .testimonials-section .quote-icon.bordered img {
  width: 20px;
  height: 20px;
}

/* Adjust decorative icon size next to title for visual parity */
.homepage .testimonials-section .section-header .section-icon {
  width: 32px;
  height: 18px;
  top: 4px;
}

/* Figma size for decorative icon */
.homepage .testimonials-section .section-header .section-icon {
  width: 26px;
  height: 15px;
  top: 4px;
}

/* Replicate diferencia-icon-wrapper for testimonials title icon */
.homepage .testimonials-section .testimonials-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: auto;
  margin-right: 8px;
  position: absolute;
  left: 0;
  top: 6px;
}
/* Keep text block padding to make space for the icon */
.homepage .testimonials-section .testimonials-content {
  position: relative;
  padding-left: 32px;
}

/* Align icon inline at left; remove extra padding */
.homepage .testimonials-section .testimonials-content {
  position: relative;
  padding-left: 0;
}
.homepage .testimonials-section .section-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  margin-bottom: 0;
}
.homepage .testimonials-section .testimonials-icon-wrapper {
  position: static;
  margin-right: 8px;
  height: 22px;
  width: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Icon to flow inline (no absolute) */
.homepage .testimonials-section .section-header .section-icon {
  position: static;
  width: 26px;
  height: 15px;
}

/* ==============================================
   CTA Section Styles Import
   ============================================== */
@import url("assets/css/cta-section.css");

/* Updated Project Card Styling - Matching Design Specification */
.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.project-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-image-container .project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-image-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.project-year-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-primary-600, #1e3a8a);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.project-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-600, #1e3a8a);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.project-details {
  flex: 1;
  margin-bottom: 20px;
}

.project-detail {
  display: flex;
  align-items: center;
  
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.project-detail:last-child {
  margin-bottom: 0;
}

.project-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.project-detail-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.project-link {
  background: white;
  border: 1.5px solid var(--color-primary-600, #1e3a8a);
  color: var(--color-primary-600, #1e3a8a);
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.project-link:hover {
  background: var(--color-primary-600, #1e3a8a);
  color: white;
  transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .proyectos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .project-image-container {
    height: 180px;
  }
  
  .project-content {
    padding: 16px;
  }
  
  .project-card-title {
    font-size: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Projects Section - Figma Design Match */
.projects-header-figma {
  padding: 56px;
  background: var(--color-neutral-200, #efeae7);
}

.projects-header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
  height: 136px;
  position: relative;
}

.projects-title-section {
  flex-shrink: 0;
  position: relative;
}

.projects-title-figma {
  font-family: "Adobe Caslon Pro", serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.235;
  color: var(--color-primary-600, #093855);
  margin: 0;
  letter-spacing: 0.25px;
}

.projects-title-figma .highlight-bg {
  background: var(--color-primary-300, #6a97b9);
  color: var(--color-neutral-50, #faf7f5);
  padding: 0 8px;
  position: relative;
  display: inline-block;
}

.projects-separator {
  flex: none;
  width: 32px;
  height: 127px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separator-line {
  width: 127px;
  height: 1px;
  background: var(--color-primary-600, #093855);
  transform: rotate(90deg);
}

.projects-description-section {
  flex: 1;
  min-width: 0;
}

.projects-description-figma {
  font-family: "Adobe Caslon Pro", serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--color-primary-600, #093855);
  margin: 0;
  letter-spacing: 0.25px;
}

/* Update projects section container */
.projects-section .vertical-layout {
  padding: 0;
}


/* Projects Grid - Figma Design Match */
.projects-section .projects-grid {
  display: flex;
  gap: 24px;
  padding: 56px;
  background: var(--color-neutral-200, #efeae7);
  margin: 0;
}

.projects-section .project-card {
  flex: 1;
  width: 432px;
  border-radius: 12px;
  border: 2px solid var(--color-neutral-300, #e2d9d4);
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
}

.project-image-container {
  height: 240px;
  background: var(--project-image);
  background-size: cover;
  background-position: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
}

.project-year-badge {
  background: var(--color-primary-600, #093855);
  color: var(--color-neutral-50, #faf7f5);
  padding: 4px 12px;
  border-radius: 50px;
  font-family: "Adrianna", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.15px;
}

.project-content {
  padding: 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-tag {
  background: var(--color-primary-50, #e0f2fe);
  color: var(--color-primary-600, #093855);
  padding: 4px 12px;
  border-radius: 50px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: 0.17px;
}

.project-card-title {
  font-family: "Adrianna", sans-serif;
  font-size: 24px;
  line-height: 1.334;
  color: var(--color-primary-600, #093855);
  margin: 0 0 12px 0;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.project-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  line-height: 1.66;
  color: var(--color-primary-600, #093855);
  letter-spacing: 0.4px;
}

.project-detail-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.project-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 32px;
  border: 2px solid var(--color-neutral-300, #e2d9d4);
  border-radius: 24px;
  text-decoration: none;
  color: var(--color-primary-600, #093855);
  font-family: "Adrianna", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.15px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.project-link:hover {
  background: var(--color-primary-600, #093855);
  color: var(--color-neutral-50, #faf7f5);
}


/* Projects Footer Button - Figma Design Match */
.projects-section .projects-footer {
  padding: 0 56px 56px;
  background: var(--color-neutral-200, #efeae7);
  display: flex;
  justify-content: center;
}

.projects-section .projects-footer .btn-secondary {
  background: var(--color-primary-600, #093855);
  color: var(--color-neutral-50, #faf7f5);
  padding: 8px 32px;
  border-radius: 24px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Adrianna", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.15px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.projects-section .projects-footer .btn-secondary:hover {
  background: var(--color-primary-700, #072a3f);
  transform: translateY(-1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.projects-section .projects-footer .btn-secondary::after {
  content: "→";
  color: var(--color-accent-400, #eb6929);
  font-size: 16px;
  margin-left: 4px;
}


/* Projects Section - Exact Figma Match for Homepage */
.projects-section .vertical-layout {
  background: #efeae7;
  padding: 0;
  margin: 0;
}

/* Figma Header Section - Exact Match */
.projects-header-figma {
  padding: 56px;
  background: #efeae7;
  position: relative;
}



.projects-header-content {
  display: flex;
  align-items: center;
  gap: 42px;
  height: 136px;
  position: relative;
  z-index: 2;
}

.projects-title-section {
  flex-shrink: 0;
      max-width: 420px;
}

.projects-title-figma {
  font-family: Adobe Caslon Pro, serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.235;
  color: #093855;
  margin: 0;
  letter-spacing: 0.25px;
  position: relative;
}

.projects-title-figma .highlight-bg {
  background: #6a97b9;
  color: #faf7f5;
  padding: 0 8px;
  display: inline-block;
}

.projects-separator {
  flex: none;
  width: 32px;
  height: 127px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separator-line {
  width: 127px;
  height: 1px;
  background: #093855;
  transform: rotate(90deg);
}

.projects-description-section {
  flex: 1;
  min-width: 0;
}

.projects-description-figma {
  font-family: Adobe Caslon Pro, serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: #093855;
  margin: 0;
  letter-spacing: 0.25px;
}

/* Figma Projects Grid - Exact 3 Card Layout */
.projects-grid-figma {
  display: flex;
  gap: 24px;
  padding: 0 56px 56px 56px;
  background: #efeae7;
  margin: 0;
  justify-content: flex-start;
}

.project-card-figma {
  width: 432px;
  flex: none;
  border-radius: 12px;
  border: 2px solid #e2d9d4;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
}

.project-image-figma {
  height: 240px;
  background-size: cover;
  background-position: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
}

.project-year-figma {
  background: #093855;
  color: #faf7f5;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: Adrianna, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.15px;
}

.project-content-figma {
  padding: 24px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.project-tags-figma {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-tag-figma {
  background: #e0f2fe;
  color: #093855;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.43;
}

.project-title-figma {
  font-family: Adrianna, sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.334;
  color: #093855;
  margin: 0;
}

.project-details-figma {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 13px;
}

.project-detail-figma {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.project-detail-figma .project-detail-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.project-detail-figma span:last-child {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.66;
  color: #093855;
  letter-spacing: 0.4px;
}

.project-link-figma {
  border: 2px solid #e2d9d4;
  border-radius: 24px;
  padding: 8px 32px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: Adrianna, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #093855;
  letter-spacing: 0.15px;
  transition: all 0.2s ease;
}

.project-link-figma:hover {
  background: #093855;
  color: #faf7f5;
}

/* Figma Footer Button */
.projects-footer-figma {
  padding: 0 56px 56px;
  background: #efeae7;
  display: flex;
  justify-content: center;
}

.btn-figma {
  background: #093855;
  color: #faf7f5;
  padding: 8px 32px;
  border-radius: 24px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: Adrianna, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.15px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.btn-figma:hover {
  background: #072a3f;
  transform: translateY(-1px);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-figma svg {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   Service Content Section - Figma Design Implementation
   Based on Figma Node ID: 196-3900
   ========================================================================== */

.servicios-content-figma {
  padding: 56px;
  background: white;
  font-family: 'Adrianna', sans-serif;
}

.servicios-content-container {
  max-width: 1292px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Service Header - Updated to match Figma node 388-2943 */

.service-icon {
  width: 76px;
  height: 86px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.service-title-servicios-header {
  flex: 1;
}

.service-title-servicios {
  font-family: 'Adobe Caslon Pro', serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: #093855;
  margin: 0;
  letter-spacing: 0.25px;
}

/* Main Content Grid - Updated to match Figma node 196-3908 */

/* Left Content Column */
.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-description {
  font-family: 'Adrianna', sans-serif;
  font-size: 24px;
  line-height: 1.334;
  color: #093855;
  margin: 0;
}

/* Section Title with Check */
.section-title-with-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.check-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 4px;
}

.section-title {
  font-family: 'Adrianna', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.334;
  color: #093855;
  margin: 0;
}

/* Section Content */
.section-content {
  margin-left: 40px; /* Align with text after check icon */
}

.section-content p {
  font-family: 'Adrianna', sans-serif;
  font-size: 24px;
  line-height: 1.334;
  color: #093855;
  margin: 0 0 16px 0;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* Building Components (for Asesoría service) */
.building-components {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 24px 0;
  margin-left: 40px; /* Align with section content */
}

.component-item {
  width: 151px;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.component-icon {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.component-icon.muro {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0NSIgdmlld0JveD0iMCAwIDE1MSAxNDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHg9IjEwIiB5PSIxMCIgd2lkdGg9IjEzMSIgaGVpZ2h0PSIxMjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGNkEwMCIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtZGFzaGFycmF5PSI1LDUiLz4KPHRleHQgeD0iNzUuNSIgeT0iNzUiIGZvbnQtZmFtaWx5PSJBcmlhbCIgZm9udC1zaXplPSIxNCIgZmlsbD0iIzA5Mzg1NSIgdGV4dC1hbmNob3I9Im1pZGRsZSI+TXVybzwvdGV4dD4KPHN2Zz4=);
}

.component-icon.techumbre {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0NSIgdmlld0JveD0iMCAwIDE1MSAxNDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cjxwb2x5Z29uIHBvaW50cz0iNzUuNSwxMCAxNDEsOTAgMTAsOTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGNkEwMCIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtZGFzaGFycmF5PSI1LDUiLz4KPHR2eHQgeD0iNzUuNSIgeT0iNzAiIGZvbnQtZmFtaWx5PSJBcmlhbCIgZm9udC1zaXplPSIxNCIgZmlsbD0iIzA5Mzg1NSIgdGV4dC1hbmNob3I9Im1pZGRsZSI+VGVjaHVtYnJlPC90ZXh0Pgo8L3N2Zz4=);
}

.component-icon.ventana {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0NSIgdmlld0JveD0iMCAwIDE1MSAxNDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHg9IjMwIiB5PSIzMCIgd2lkdGg9IjkxIiBoZWlnaHQ9Ijg1IiBmaWxsPSJub25lIiBzdHJva2U9IiNGRjZBMDAiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWRhc2hhcnJheT0iNSw1Ii8+CjxsaW5lIHgxPSI3NS41IiB5MT0iMzAiIHgyPSI3NS41IiB5Mj0iMTE1IiBzdHJva2U9IiNGRjZBMDAiIHN0cm9rZS13aWR0aD0iMyIvPgo8bGluZSB4MT0iMzAiIHkxPSI3Mi41IiB4Mj0iMTIxIiB5Mj0iNzIuNSIgc3Ryb2tlPSIjRkY2QTAwIiBzdHJva2Utd2lkdGg9IjMiLz4KPHR2eHQgeD0iNzUuNSIgeT0iMTMwIiBmb250LWZhbWlseT0iQXJpYWwiIGZvbnQtc2l6ZT0iMTQiIGZpbGw9IiMwOTM4NTUiIHRleHQtYW5jaG9yPSJtaWRkbGUiPlZlbnRhbmE8L3RleHQ+Cjwvc3ZnPg==);
}

.component-icon.piso {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0NSIgdmlld0JveD0iMCAwIDE1MSAxNDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHg9IjEwIiB5PSI5MCIgd2lkdGg9IjEzMSIgaGVpZ2h0PSI0NSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkY2QTAwIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1kYXNoYXJyYXk9IjUsNSIvPgo8dGV4dCB4PSI3NS41IiB5PSIxMTciIGZvbnQtZmFtaWx5PSJBcmlhbCIgZm9udC1zaXplPSIxNCIgZmlsbD0iIzA5Mzg1NSIgdGV4dC1hbmNob3I9Im1pZGRsZSI+UGlzbzwvdGV4dD4KPHN2Zz4=);
}

.component-icon.piso-ventilado {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUxIiBoZWlnaHQ9IjE0NSIgdmlld0JveD0iMCAwIDE1MSAxNDUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHg9IjEwIiB5PSI5MCIgd2lkdGg9IjEzMSIgaGVpZ2h0PSI0NSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkY2QTAwIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1kYXNoYXJyYXk9IjUsNSIvPgo8cmVjdCB4PSIxMCIgeT0iODAiIHdpZHRoPSIxMzEiIGhlaWdodD0iNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkY2QTAwIiBzdHJva2Utd2lkdGg9IjIiLz4KPHR2eHQgeD0iNzUuNSIgeT0iMTM1IiBmb250LWZhbWlseT0iQXJpYWwiIGZvbnQtc2l6ZT0iMTIiIGZpbGw9IiMwOTM4NTUiIHRleHQtYW5jaG9yPSJtaWRkbGUiPlBpc28gVmVudGlsYWRvPC90ZXh0Pgo8L3N2Zz4=);
}

/* Right Sidebar */
.service-sidebar {
  width: 380px;
}

.related-info-section {
  background: #174f71;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-title {
  font-family: 'Adrianna', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #faf7f5;
  margin: 0;
  letter-spacing: 0.15px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.question-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-text {
  font-family: 'Adrianna', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #faf7f5;
  margin: 0;
  letter-spacing: 0.15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .servicios-content-figma {
    padding: 32px 24px;
  }
  
  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-sidebar {
    width: 100%;
  }
  
  .building-components {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  
  .component-item {
    width: 120px;
    height: 115px;
  }
}

@media (max-width: 768px) {
  .servicios-content-figma {
    padding: 24px 16px;
  }
  
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .service-icon {
    width: 60px;
    height: 68px;
  }
  
  .service-title-servicios {
    font-size: 28px;
  }
  
  .service-description,
  .section-title {
    font-size: 20px;
  }
  
  .section-content p {
    font-size: 18px;
  }
  
  .section-content {
    margin-left: 0;
  }
  
  .building-components {
    margin-left: 0;
    gap: 12px;
  }
  
  .component-item {
    width: 100px;
    height: 95px;
  }
  
  .section-title-with-check {
    align-items: center;
  }
  
  .check-icon {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .service-title-servicios {
    font-size: 24px;
    line-height: 1.2;
  }
  
  .service-description,
  .section-title {
    font-size: 18px;
  }
  
  .section-content p {
    font-size: 16px;
  }
  
  .building-components {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .component-item {
    width: 80px;
    height: 75px;
  }
}

/* Animation for service switching */

.service-content-section {  opacity: 0;  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.service-content-section.active-service {
  opacity: 1;
  transform: translateY(0);
}

/* Main Content Grid - Updated to match Figma node 196-3908 */
.servicios-content-figma {
  max-width: 1292px;
  margin: 0 auto;
  padding: 32px;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 808px 380px;
  gap: 32px;
  background: white;
  width: 100%;
}

/* Left Content Column - Figma: 808px width */
.service-main-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 808px;
}

/* Service Description - Figma specs */
.service-description {
  font-family: 'Adrianna', sans-serif;
  font-size: 24px;
  line-height: 32px; /* Figma: 128px for 4 lines = 32px per line */
  color: #093855;
  margin: 0 0 32px 0; /* 160px from top - 128px text = 32px margin */
}

/* Section Title with Check - Figma: 32px height */
.section-title-with-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: 32px;
  margin-bottom: 32px; /* 224px - 192px = 32px gap */
}

.check-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Adrianna', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #093855;
  margin: 0;
}

/* Section Content - Figma: 808px width, specific line heights */
.section-content {
  margin-bottom: 32px;
}

.section-content p {
  font-family: 'Adrianna', sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: #5a6b7d;
  margin: 0 0 16px 0;
}

/* Right Sidebar - Figma: 380px width, 298px height */
.service-sidebar {
  width: 380px;
}

.related-info-section {
  background: #093855;
  border-radius: 8px;
  padding: 16px;
  height: 298px;
}

/* Sidebar Title - Figma specs */
.sidebar-title {
  font-family: 'Adrianna', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #faf7f5;
  margin: 0 0 16px 0;
}

/* Info Items - Figma: question icon + text layout */
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.question-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.info-text {
  font-family: 'Adrianna', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #faf7f5;
  margin: 0;
}

/* Building Components - Figma: 5 items, 151px each, 755px total */
.building-components {
  display: flex;
  gap: 0;
  width: 755px;
  height: 145px;
  margin: 32px 0;
}

.component-item {
  width: 151px;
  height: 145px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1366px) {
  .servicios-content-figma {
    max-width: 100%;
    padding: 24px;
  }
  
  .service-content-grid {
    grid-template-columns: 1fr 350px;
    gap: 24px;
  }
  
  .service-main-content {
    width: auto;
  }
  
  .service-sidebar {
    width: 350px;
  }
}

@media (max-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-sidebar {
    width: 100%;
    max-width: 380px;
  }
  
  .building-components {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
  }
  
  .component-item {
    width: 120px;
    height: 115px;
  }
}
/* Service Header - Updated to match Figma node 388-2943 */
.service-header {
  background: #efeae7;
  display: flex;
  align-items: center;
  gap: 24px; /* 100px title start - 76px icon = 24px gap */
  padding: 0 32px;
  border-radius: 8px;
  height: 86px;
  max-width: 1328px;
  width: 100%;
  margin: 0 auto 32px auto;
}

.service-icon {
  width: 76px;
  height: 86px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.service-icon-img {
  max-width: 76px;
  max-height: 86px;
  object-fit: contain;
}

.service-title-header {
  display: flex;
  align-items: center;
  height: 100%;
}

.service-title-servicios {
  font-family: 'Adrianna', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: #093855;
  margin: 0;
  /* Text appears at x=100 in Figma, height centered in 86px container */
}

/* Responsive adjustments */
@media (max-width: 1366px) {
  .service-header {
    max-width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    height: auto;
    padding: 24px;
  }
  
  .service-icon {
    width: 60px;
    height: 68px;
  }
  
  .service-icon-img {
    max-width: 60px;
    max-height: 68px;
  }
  
  .service-title-servicios {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .service-header {
    gap: 12px;
    padding: 16px;
  }
  
  .service-title-servicios {
    font-size: 24px;
  }
}
