/* ==========================================================================
   DINTEL GROUP - CORPORATE DESIGN SYSTEM & STYLESHEET
   Brand Style Guide Compliance:
   - Deep Navy: #0A1F3D
   - Dark Blue: #113B5C
   - Vibrant Cyan: #00B8F0
   - Soft Cyan: #4ED3FF
   - Cool Light Grey: #F3F6FA
   - Pure White: #FFFFFF
   - Accent Orange: #FF6B35 (Call-to-action badges from official banners)
   - Typography: Montserrat (Google Fonts)
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-deep-navy: #0A1F3D;
  --color-dark-blue: #113B5C;
  --color-vibrant-cyan: #00B8F0;
  --color-soft-cyan: #4ED3FF;
  --color-cool-grey: #F3F6FA;
  --color-pure-white: #FFFFFF;
  --color-accent-orange: #FF6B35;
  --color-dark-surface: #0e2a4a;
  --color-border-subtle: rgba(78, 211, 255, 0.2);
  --color-text-muted: #9BB0C9;
  --color-text-dark: #1E293B;

  /* Typography */
  --font-family-base: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --header-height: 80px;
  --max-width-container: 1280px;
  --container-padding: clamp(1.25rem, 5vw, 3rem);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;

  /* Architectural Angular Cuts (45 deg) */
  --clip-angular-br: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  --clip-angular-tl: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
  --clip-diagonal-badge: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  --clip-hero-diagonal: polygon(0 0, 100% 0, 100% 92%, 0 100%);

  /* Shadows & Glows */
  --shadow-subtle: 0 4px 20px rgba(10, 31, 61, 0.15);
  --shadow-card: 0 10px 30px rgba(10, 31, 61, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(0, 184, 240, 0.35);
  --shadow-cyan-intense: 0 8px 30px rgba(0, 184, 240, 0.45);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-family-base);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--color-deep-navy);
  color: var(--color-pure-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-deep-navy);
}

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

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

button, input, select, textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-pure-white);
}

p {
  color: var(--color-text-muted);
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.text-cyan { color: var(--color-vibrant-cyan); }
.text-soft-cyan { color: var(--color-soft-cyan); }
.text-orange { color: var(--color-accent-orange); }
.text-white { color: var(--color-pure-white); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

/* Section Eyebrow Badge */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 184, 240, 0.12);
  border-left: 3px solid var(--color-vibrant-cyan);
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-soft-cyan);
  margin-bottom: 1rem;
  clip-path: var(--clip-diagonal-badge);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-vibrant-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-vibrant-cyan);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  box-shadow: var(--shadow-cyan-glow);
}

.btn-primary:hover {
  background-color: var(--color-soft-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan-intense);
  color: var(--color-deep-navy);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-soft-cyan);
  color: var(--color-pure-white);
}

.btn-secondary:hover {
  background-color: rgba(78, 211, 255, 0.12);
  border-color: var(--color-vibrant-cyan);
  color: var(--color-soft-cyan);
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--color-accent-orange);
  color: var(--color-pure-white);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-orange:hover {
  background-color: #ff7d4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.55);
}

.btn-angular {
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  padding: 14px 32px;
}

/* Header & Sticky Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: rgba(10, 31, 61, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(78, 211, 255, 0.12);
}

.site-header.scrolled {
  background: rgba(10, 31, 61, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(0, 184, 240, 0.25);
  height: 72px;
}

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

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

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 184, 240, 0.25));
  transition: transform var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #D3E0EE;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-vibrant-cyan), var(--color-soft-cyan));
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-pure-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-soft-cyan);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  background: rgba(78, 211, 255, 0.08);
  border: 1px solid rgba(78, 211, 255, 0.2);
  transition: all var(--transition-fast);
}

.phone-quick-link:hover {
  background: rgba(78, 211, 255, 0.18);
  color: var(--color-pure-white);
  border-color: var(--color-vibrant-cyan);
}

.phone-quick-link svg {
  width: 16px;
  height: 16px;
  color: var(--color-vibrant-cyan);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-pure-white);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 30%, #113b5c 0%, #0a1f3d 70%);
}

/* Background 45-degree geometric architectural stripes from Brand Book */
.hero-bg-lines {
  position: absolute;
  top: 0;
  right: -5%;
  width: 65%;
  height: 100%;
  pointer-events: none;
  opacity: 0.25;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 45px,
    rgba(0, 184, 240, 0.08) 45px,
    rgba(0, 184, 240, 0.08) 47px
  );
}

.hero-diagonal-accent {
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 650px;
  height: 650px;
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(0, 184, 240, 0.15) 0%, rgba(17, 59, 92, 0.05) 70%);
  transform: rotate(45deg);
  pointer-events: none;
  border: 1px solid rgba(78, 211, 255, 0.15);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 59, 92, 0.85);
  border: 1px solid var(--color-border-subtle);
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-soft-cyan);
  margin-bottom: 1.5rem;
  clip-path: var(--clip-diagonal-badge);
}

.hero-brand-pill span.dot {
  width: 8px;
  height: 8px;
  background: var(--color-vibrant-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-vibrant-cyan);
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.hero-title .highlight-cyan {
  color: var(--color-vibrant-cyan);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.65;
  color: #B9CCE0;
  margin-bottom: 2.25rem;
}

.hero-subtitle strong {
  color: var(--color-pure-white);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(78, 211, 255, 0.15);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 800;
  color: var(--color-vibrant-cyan);
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Showcase Card with Venetian Blinds preview */
.hero-visual-frame {
  position: relative;
  border-radius: var(--border-radius-md);
  padding: 10px;
  background: linear-gradient(135deg, rgba(78, 211, 255, 0.3) 0%, rgba(17, 59, 92, 0.4) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  clip-path: var(--clip-angular-br);
}

.hero-visual-inner {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-deep-navy);
}

.hero-live-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(10, 31, 61, 0.9);
  border: 1px solid var(--color-vibrant-cyan);
  color: var(--color-pure-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-cyan-glow);
  clip-path: var(--clip-diagonal-badge);
}

.hero-live-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--color-vibrant-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 184, 240, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 184, 240, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 184, 240, 0); }
}

/* ==========================================================================
   PILLARS & BRAND VALUES (INNOVATION, INTEGRITY, COLLABORATION, EXCELLENCE)
   ========================================================================== */
.section-pillars {
  padding: 90px 0;
  background: var(--color-deep-navy);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  padding: 2.25rem 1.75rem;
  border-radius: var(--border-radius-md);
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-vibrant-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-vibrant-cyan);
  box-shadow: 0 15px 35px rgba(0, 184, 240, 0.15);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 184, 240, 0.12);
  border: 1px solid rgba(78, 211, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-vibrant-cyan);
  clip-path: var(--clip-diagonal-badge);
  transition: all var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  box-shadow: 0 0 20px var(--color-vibrant-cyan);
}

.pillar-icon-box svg {
  width: 28px;
  height: 28px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #AFC3D8;
}

/* ==========================================================================
   VENETIAN BLINDS INTERACTIVE BEFORE / AFTER SHOWCASE SECTION
   ========================================================================== */
.section-venetian {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-deep-navy) 0%, #07172e 100%);
  position: relative;
  overflow: hidden;
}

.venetian-header-wrap {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.venetian-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
}

.venetian-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 620px;
  background: #05101f;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  perspective: 1200px;
  overflow: hidden;
}

/* Slat engine container */
.venetian-slats-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.venetian-base-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.venetian-slats-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.venetian-slat {
  width: 100%;
  flex: 1;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: top center;
  will-change: transform;
  overflow: hidden;
}

.venetian-slat-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
}

.venetian-slat-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* Control Panel for Venetian Blinds */
.venetian-controls-card {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.venetian-ctrl-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-pure-white);
  border-bottom: 1px solid rgba(78, 211, 255, 0.15);
  padding-bottom: 0.75rem;
}

.ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctrl-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-soft-cyan);
  display: flex;
  justify-content: space-between;
}

.ctrl-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(10, 31, 61, 0.8);
  border-radius: 3px;
  outline: none;
  border: 1px solid rgba(78, 211, 255, 0.2);
}

.ctrl-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-vibrant-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--color-vibrant-cyan);
  border: 2px solid var(--color-pure-white);
  transition: transform 0.15s;
}

.ctrl-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.mode-toggle-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mode-btn {
  background: rgba(10, 31, 61, 0.6);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-pure-white);
  padding: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.mode-btn.active, .mode-btn:hover {
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  border-color: var(--color-vibrant-cyan);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-services {
  padding: 100px 0;
  background: var(--color-deep-navy);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-vibrant-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 31, 61, 0.85);
  border: 1px solid var(--color-vibrant-cyan);
  color: var(--color-soft-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  clip-path: var(--clip-diagonal-badge);
}

.service-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 0.84375rem;
  color: #D3E0EE;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-vibrant-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   PROJECTS GALLERY (PORTFOLIO CON FICHA TÉCNICA)
   ========================================================================== */
.section-projects {
  padding: 100px 0;
  background: linear-gradient(180deg, #07172e 0%, var(--color-deep-navy) 100%);
  position: relative;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
  justify-content: center;
}

.filter-btn {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  color: #AFC3D8;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  border-color: var(--color-vibrant-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-soft-cyan);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.project-img-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.project-location-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 31, 61, 0.9);
  color: var(--color-soft-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(78, 211, 255, 0.3);
}

.project-location-tag svg {
  width: 14px;
  height: 14px;
  color: var(--color-vibrant-cyan);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-vibrant-cyan);
  margin-bottom: 6px;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  margin: 12px 0;
  border-top: 1px solid rgba(78, 211, 255, 0.12);
  border-bottom: 1px solid rgba(78, 211, 255, 0.12);
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-pure-white);
}

.spec-key {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ==========================================================================
   INTERACTIVE BUDGET ESTIMATOR / CALCULATOR
   ========================================================================== */
.section-calculator {
  padding: 100px 0;
  background: var(--color-deep-navy);
  position: relative;
}

.calc-wrapper {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  clip-path: var(--clip-angular-br);
}

.calc-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-pure-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-step-num {
  width: 28px;
  height: 28px;
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
}

/* Step 1: Project Type Buttons */
.project-type-radios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.type-btn {
  background: rgba(10, 31, 61, 0.65);
  border: 1px solid var(--color-border-subtle);
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  color: #D3E0EE;
}

.type-btn.active, .type-btn:hover {
  border-color: var(--color-vibrant-cyan);
  background: rgba(0, 184, 240, 0.12);
  color: var(--color-pure-white);
}

.type-btn strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.type-btn small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Step 2: Surface Slider */
.surface-slider-wrap {
  background: rgba(10, 31, 61, 0.5);
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(78, 211, 255, 0.12);
}

.surface-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.surface-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-vibrant-cyan);
}

/* Step 3: Quality Tier Radios */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tier-card {
  background: rgba(10, 31, 61, 0.65);
  border: 1px solid var(--color-border-subtle);
  padding: 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.tier-card.active, .tier-card:hover {
  border-color: var(--color-vibrant-cyan);
  background: rgba(0, 184, 240, 0.12);
}

.tier-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-pure-white);
  margin-bottom: 4px;
}

.tier-rate {
  font-size: 0.75rem;
  color: var(--color-soft-cyan);
}

/* Summary Box */
.calc-result-box {
  background: var(--color-deep-navy);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.result-header {
  border-bottom: 1px solid rgba(78, 211, 255, 0.15);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.result-estimate-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-soft-cyan);
}

.result-amount {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-vibrant-cyan);
  line-height: 1.15;
  margin: 6px 0;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #AFC3D8;
}

.breakdown-row span:last-child {
  font-weight: 600;
  color: var(--color-pure-white);
}

/* ==========================================================================
   WORK METHODOLOGY (4 PASOS DINTEL)
   ========================================================================== */
.section-process {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-deep-navy) 0%, #07172e 100%);
  position: relative;
}

.process-steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step-item {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-step-item:hover {
  transform: translateY(-6px);
  border-color: var(--color-vibrant-cyan);
}

.step-num-big {
  font-size: 2.75rem;
  font-weight: 900;
  color: rgba(78, 211, 255, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
}

.process-step-item:hover .step-num-big {
  color: var(--color-vibrant-cyan);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #AFC3D8;
}

/* ==========================================================================
   OFFICIAL BANNER SHOWCASE (LONA DE OBRA & ANDAMIO REAL)
   ========================================================================== */
.section-real-banner {
  padding: 70px 0;
  background: var(--color-dark-blue);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.banner-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.banner-img-frame {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(78, 211, 255, 0.25);
}

.banner-img-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   CONTACT SECTION & GEO BURGOS CONVERSION
   ========================================================================== */
.section-contact {
  padding: 100px 0;
  background: var(--color-deep-navy);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

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

.form-full {
  grid-column: 1 / -1;
}

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

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #D3E0EE;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--color-deep-navy);
  border: 1px solid rgba(78, 211, 255, 0.25);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  color: var(--color-pure-white);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-vibrant-cyan);
  box-shadow: 0 0 15px rgba(0, 184, 240, 0.3);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.form-check input[type="checkbox"] {
  accent-color: var(--color-vibrant-cyan);
  width: 16px;
  height: 16px;
  margin-top: 3px;
  cursor: pointer;
}

.form-check a {
  color: var(--color-soft-cyan);
  text-decoration: underline;
}

/* Contact Details & GEO Info */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.geo-info-card {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.geo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-pure-white);
  border-bottom: 1px solid rgba(78, 211, 255, 0.15);
  padding-bottom: 0.75rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(0, 184, 240, 0.12);
  border: 1px solid rgba(78, 211, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-vibrant-cyan);
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 20px;
  height: 20px;
}

.contact-meta strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-soft-cyan);
  margin-bottom: 2px;
}

.contact-meta p, .contact-meta a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-pure-white);
}

.contact-meta a:hover {
  color: var(--color-vibrant-cyan);
}

/* Interactive Map Frame */
.map-container-frame {
  height: 260px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  position: relative;
  background: #0d2138;
}

.map-container-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.site-footer {
  background: #06152b;
  border-top: 1px solid rgba(78, 211, 255, 0.15);
  padding: 80px 0 30px;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-col-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #9BB0C9;
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-soft-cyan);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: #B9CCE0;
  transition: all var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-vibrant-cyan);
  padding-left: 4px;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(78, 211, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #7E93AC;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #9BB0C9;
}

.footer-legal-links a:hover {
  color: var(--color-soft-cyan);
}

/* ==========================================================================
   MODALES (POLÍTICAS LEGALES & DETALLES)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 61, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--color-dark-blue);
  border: 1px solid var(--color-soft-cyan);
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 820px;
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(10, 31, 61, 0.6);
  border: 1px solid var(--color-border-subtle);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-pure-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
}

.modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-pure-white);
}

.modal-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-soft-cyan);
}

.modal-content p, .modal-content li {
  font-size: 0.9375rem;
  color: #AFC3D8;
  line-height: 1.7;
}

.modal-content ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

/* ==========================================================================
   COOKIE BANNER (AEPD / RGPD)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 580px;
  background: rgba(17, 59, 92, 0.96);
  border: 1px solid var(--color-soft-cyan);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-pure-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-text {
  font-size: 0.84375rem;
  color: #B9CCE0;
  line-height: 1.55;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn-cookie-accept {
  background: var(--color-vibrant-cyan);
  color: var(--color-deep-navy);
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all var(--transition-fast);
}

.btn-cookie-accept:hover {
  background: var(--color-soft-cyan);
}

.btn-cookie-reject, .btn-cookie-settings {
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  color: var(--color-pure-white);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all var(--transition-fast);
}

.btn-cookie-reject:hover, .btn-cookie-settings:hover {
  border-color: var(--color-soft-cyan);
  color: var(--color-soft-cyan);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual-frame {
    max-width: 540px;
    margin: 0 auto;
  }
  .venetian-container {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-showcase-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-deep-navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--container-padding);
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    border-top: 1px solid var(--color-border-subtle);
    overflow-y: auto;
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .menu-toggle {
    display: block;
  }
  .phone-quick-link span {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .project-type-radios {
    grid-template-columns: 1fr;
  }
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process-steps-track {
    grid-template-columns: 1fr;
  }
}
