/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --clr-primary: #1a2332;
  --clr-primary-light: #243044;
  --clr-accent: #d4a853;
  --clr-accent-hover: #e0b964;
  --clr-accent-glow: rgba(212, 168, 83, 0.25);
  --clr-cream: #f5f0e8;
  --clr-cream-dark: #ebe4d8;
  --clr-white: #ffffff;
  --clr-text: #2d2d2d;
  --clr-text-light: #6b6b6b;
  --clr-text-on-dark: #c8c8c8;
  --clr-overlay: rgba(26, 35, 50, 0.85);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 25px rgba(212, 168, 83, 0.3);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul {
  list-style: none;
}

.site-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: currentColor;
}

.site-icon--small {
  width: 0.95rem;
  height: 0.95rem;
}

.site-icon--large {
  width: 2.4rem;
  height: 2.4rem;
}

.site-icon path,
.site-icon circle {
  stroke: currentColor;
  fill: none;
}

.logo-icon,
.preloader-icon,
.hero-float-card .card-icon {
  color: var(--clr-primary);
}

.logo-icon .site-icon,
.preloader-icon .site-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.hero-float-card .card-icon .site-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.service-icon .site-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--clr-accent);
}

.service-card:hover .service-icon .site-icon {
  color: var(--clr-primary);
}

.about-feature-icon .site-icon {
  width: 1rem;
  height: 1rem;
  color: var(--clr-primary);
}

.process-step-icon .site-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--clr-accent);
}

.notification-icon .site-icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ===== UTILITIES ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: var(--space-2xl) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--clr-accent);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-title--light {
  color: var(--clr-white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-primary);
}

.btn--primary:hover {
  background: var(--clr-accent-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--dark:hover {
  background: var(--clr-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
}

.logo-text span {
  color: var(--clr-accent);
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 1.2rem;
  display: block;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--clr-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--clr-accent) !important;
  color: var(--clr-primary) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--clr-accent-hover) !important;
  color: var(--clr-primary) !important;
  box-shadow: var(--shadow-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url('Imagenes/pintor-en-ponferrada-precio-e1773764208497.png.webp') center 30% / cover no-repeat;
  overflow: hidden;
  padding-top: 80px;
}

/* Grain texture overlay for premium feel */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(10, 17, 28, 0.97) 0%,
      rgba(10, 17, 28, 0.92) 35%,
      rgba(10, 17, 28, 0.65) 58%,
      rgba(10, 17, 28, 0.15) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: calc(70vh - 80px);
  padding: 2.5rem 0 2rem;
  align-items: center;
}

.hero-text {
  max-width: 680px;
}

/* Animated entry */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 152, 0, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 152, 0, 0.4);
  border-radius: 50px;
  color: #ffb74d;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  animation: heroFadeUp 0.6s ease both;
}

.hero-badge svg {
  color: #ff9800;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: #ff9800;
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 0.4rem;
  letter-spacing: -2px;
  animation: heroFadeUp 0.6s 0.1s ease both;
}

.hero-title-accent {
  color: #ff9800;
  display: block;
  font-style: italic;
  text-shadow: 0 0 20px rgba(255, 152, 0, 0.4);
}

.hero-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin-bottom: 1.8rem;
  animation: heroFadeUp 0.6s 0.2s ease both;
  max-width: 580px;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: heroFadeUp 0.6s 0.3s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeUp 0.6s 0.4s ease both;
  margin-bottom: 3.5rem;
}

.btn--orange {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #ff9800, #ff6d00);
  color: #fff;
  box-shadow: 0 6px 30px rgba(255, 109, 0, 0.5);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.btn--orange:hover {
  background: linear-gradient(135deg, #ffb300, #e65100);
  box-shadow: 0 8px 40px rgba(255, 109, 0, 0.7);
  transform: translateY(-3px);
  color: #fff;
}

.btn--glass {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.4rem;
  border-radius: 50px;
  transition: all var(--transition-base);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(255, 152, 0, 0.5);
  box-shadow: 0 4px 20px rgba(255, 152, 0, 0.2);
}

/* ─── Hero Stats Bar ─── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: heroFadeUp 0.6s 0.5s ease both;
  flex-wrap: wrap;
}

.hero-stat {
  flex: 1;
  min-width: 110px;
  padding: 0 1.5rem;
  position: relative;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-stat-number {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ff9800;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── Hero Feature Cards ─── */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 2.5rem;
}

.hero-feature-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.hero-feature-card:hover {
  background: rgba(255, 152, 0, 0.1);
  transform: translateY(-6px);
  border-color: rgba(255, 152, 0, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 152, 0, 0.15);
  border-radius: 10px;
  color: #ff9800;
  transition: background 0.3s ease;
}

.hero-feature-card:hover .feature-icon {
  background: rgba(255, 152, 0, 0.25);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.feature-text p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--clr-cream);
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 168, 83, 0.15);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--clr-accent-glow), rgba(212, 168, 83, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--clr-accent);
  box-shadow: var(--shadow-gold);
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.6rem;
}

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

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  color: var(--clr-accent);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 0.7rem;
}

/* ===== PRICING / PRECIOS ===== */
.pricing {
  background: var(--clr-white);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 900px;
  margin: 0 auto;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--clr-white);
  border: 1px solid var(--clr-cream-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  gap: var(--space-md);
}

.pricing-item:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
  z-index: 2;
  position: relative;
}

.pricing-item-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.3rem;
}

.pricing-item-content p {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.pricing-item-price {
  text-align: right;
  flex-shrink: 0;
  min-width: 170px;
}

.price-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--clr-text-light);
  letter-spacing: 1px;
}

.price {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1.2;
}

.unit {
  display: block;
  font-size: 0.85rem;
  color: var(--clr-text-light);
}

.pricing-cta {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--clr-cream-dark);
}

.pricing-cta p {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .pricing-item {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
  }

  .pricing-item-price {
    text-align: left;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--clr-cream-dark);
    width: 100%;
  }
}

/* ===== ABOUT / WHY US ===== */
.about {
  background: var(--clr-cream);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(26, 35, 50, 0.9));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.about-image-overlay .stat {
  text-align: center;
  color: var(--clr-white);
}

.about-image-overlay .stat h4 {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--clr-accent);
}

.about-image-overlay .stat p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text .section-subtitle {
  margin-bottom: var(--space-md);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.about-feature:hover {
  background: var(--clr-white);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-full);
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-primary);
}

.about-feature h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.2rem;
}

.about-feature p {
  font-size: 0.8rem;
  color: var(--clr-text-light);
}

/* ===== PORTFOLIO / GALLERY ===== */
.portfolio {
  background: var(--clr-primary);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.portfolio .container {
  position: relative;
  z-index: 2;
}

.portfolio-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.portfolio-header .section-subtitle {
  color: var(--clr-text-on-dark);
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--space-sm);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:first-child {
  grid-row: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26, 35, 50, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-family: var(--ff-heading);
  color: var(--clr-white);
  font-size: 1.1rem;
}

.portfolio-overlay p {
  color: var(--clr-accent);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--clr-cream);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--clr-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  position: relative;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 168, 83, 0.2);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--clr-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--ff-heading);
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--clr-primary);
  font-size: 1rem;
}

.testimonial-author h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--clr-text-light);
}

.testimonial-stars {
  color: var(--clr-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #c49a3d 50%, var(--clr-accent-hover) 100%);
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.06'%3E%3Cpath d='M20 0L0 20h8l12-12 12 12h8z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(26, 35, 50, 0.75);
  margin-bottom: var(--space-md);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--clr-white);
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info .section-subtitle {
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-md);
  background: var(--clr-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.contact-detail:hover .contact-detail-icon {
  background: var(--clr-accent);
  box-shadow: var(--shadow-gold);
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.15rem;
}

.contact-detail p {
  font-size: 0.88rem;
  color: var(--clr-text-light);
}

.contact-form {
  background: var(--clr-cream);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-cream-dark);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--clr-text);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-accent);
}

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

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-xs);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--clr-primary);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand .logo-text {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--clr-text-on-dark);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-on-dark);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--clr-accent);
  color: var(--clr-primary);
  transform: translateY(-3px);
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--clr-text-on-dark);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(200, 200, 200, 0.5);
}

/* ===== LOCATIONS SECTION ===== */
.locations {
  background: var(--clr-cream);
  text-align: center;
}

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

.locations-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.locations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.location-badge {
  background: var(--clr-white);
  border: 1px solid rgba(212, 168, 83, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.location-badge svg {
  color: #ff9800;
}

.location-badge:hover {
  border-color: #ff9800;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: #ff9800;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .about-image {
    height: 350px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .portfolio-item:first-child {
    grid-row: auto;
  }

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

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

@media (max-width: 768px) {
  .hero-overlay {
    background: rgba(15, 25, 35, 0.85);
    /* Solid overlay on mobile for readability */
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn--orange,
  .btn--glass {
    width: 100%;
    justify-content: center;
  }

  .hero-features {
    grid-template-columns: 1fr 1fr;
    /* 2x2 grid on mobile */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--clr-primary);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    transition: right var(--transition-base);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md);
  }

  .process-step-number {
    margin-bottom: 0.5rem;
  }

  .process-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .trust-logos {
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader-icon {
  font-size: 3rem;
  animation: preloaderBounce 1s ease-in-out infinite;
  margin-bottom: var(--space-md);
}

@keyframes preloaderBounce {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-15px) scale(1.1);
  }
}

.preloader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto var(--space-sm);
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-hover));
  border-radius: 4px;
  animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
  to {
    width: 100%;
  }
}

.preloader-text {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 2px;
}

/* ===== PROCESS / CÓMO TRABAJAMOS ===== */
.process {
  background: var(--clr-white);
}

.process-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent-glow), var(--clr-accent), var(--clr-accent-glow));
  border-radius: 3px;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  background: var(--clr-white);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--clr-cream-dark);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 168, 83, 0.3);
}

.process-step-number {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.process-step-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.4rem;
}

.process-step-content p {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  line-height: 1.6;
}

.process-step-icon {
  font-size: 1.8rem;
  margin-top: var(--space-sm);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.process-step:hover .process-step-icon {
  opacity: 1;
}

/* ===== TRUST BRANDS ===== */
.trust-brands {
  background: var(--clr-cream);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--clr-cream-dark);
  border-bottom: 1px solid var(--clr-cream-dark);
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clr-text-light);
  margin-bottom: var(--space-md);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-logo {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-primary);
  opacity: 0.25;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity var(--transition-base);
  cursor: default;
}

.trust-logo:hover {
  opacity: 0.6;
}

/* ===== FAQ SECTION ===== */
.faq {
  background: var(--clr-white);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--clr-cream-dark);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.faq-item.active {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 15px rgba(212, 168, 83, 0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-align: left;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--clr-accent);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--clr-accent);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.3rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.3rem 1.2rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.8;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  opacity: 0;
  transform: scale(0.5);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 998;
  width: 48px;
  height: 48px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--clr-accent);
  color: var(--clr-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    left: 20px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ===== AESTHETIC DETAILS ===== */
::selection {
  background-color: var(--clr-accent);
  color: var(--clr-primary);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--clr-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-primary-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent);
}