/* =============================================================================
   FLIESENCENTER S.L. - Main Stylesheet
   Premium tile and renovation company in Altea, Costa Blanca
   ============================================================================= */

/* ===================== CSS CUSTOM PROPERTIES ===================== */
:root {
  --color-primary: #0f172a;
  --color-blue: #1e3a8a;
  --color-blue-light: #3b5bc8;
  --color-blue-hover: #2d4eb5;
  --color-red: #dc2626;
  --color-red-hover: #b91c1c;
  --color-gold: #d4a853;
  --color-gold-light: #e8c27a;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1400px;
  --section-padding: 100px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ===================== TYPOGRAPHY SCALE ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* ===================== LAYOUT UTILITIES ===================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

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

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .overline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  display: block;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* ===================== COLOR UTILITIES ===================== */
.text-white { color: var(--color-white); }
.text-gold { color: var(--color-gold); }
.text-red { color: var(--color-red); }
.text-blue { color: var(--color-blue); }
.text-muted { color: var(--color-gray-600); }

.bg-dark { background-color: var(--color-primary); }
.bg-blue { background-color: var(--color-blue); }
.bg-light { background-color: var(--color-gray-100); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.btn-outline:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.35);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================== NAVIGATION ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-dropdown-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .chevron,
.nav-dropdown.open .chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-2xl);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.625rem 1rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  padding-left: 1.25rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.875rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 0.5rem;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-2xl);
  z-index: 100;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.625rem 1rem;
  border-radius: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.lang-flag {
  font-size: 1.1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  z-index: 999;
  padding: 2rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-sub {
  padding-left: 1.5rem;
}

.mobile-menu-sub a {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
}

.mobile-lang-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mobile-lang-btn {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--border-radius) !important;
  width: auto !important;
  font-size: 0.8rem !important;
}

.mobile-lang-btn.active {
  background: rgba(212, 168, 83, 0.15) !important;
  border-color: var(--color-gold) !important;
  color: var(--color-gold) !important;
}

/* ===================== HERO SECTIONS ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(30, 58, 138, 0.7) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--nav-height);
}

.hero-content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.hero-overline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-overline::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--color-white);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-title span {
  color: var(--color-gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page hero (smaller) */
.page-hero {
  min-height: 50vh;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
}

.page-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

/* ===================== STATS BAR ===================== */
.stats-bar {
  background: var(--color-primary);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, transparent 60%);
}

.stats-bar .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================== ABOUT SECTION ===================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-split.reverse {
  direction: rtl;
}

.about-split.reverse > * {
  direction: ltr;
}

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

.about-image-wrapper img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
}

.about-image-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 200px;
  height: 200px;
  background: var(--color-gold);
  border-radius: var(--border-radius-xl);
  z-index: -1;
  opacity: 0.3;
}

.about-text .overline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  display: block;
  margin-bottom: 0.75rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-gray-600);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.values-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.value-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ===================== SERVICE CARDS ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-red));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-lg);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

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

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-blue);
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-top: 1.5rem;
  transition: var(--transition);
}

.service-card .service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.service-card .service-link:hover {
  color: var(--color-red);
}

.service-card .service-link:hover svg {
  transform: translateX(4px);
}

/* Service features list */
.service-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* ===================== FEATURED SECTION (ALTERNATING) ===================== */
.featured-section {
  overflow: hidden;
}

.featured-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.featured-image {
  position: relative;
  overflow: hidden;
}

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

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

.featured-content {
  background: var(--color-primary);
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.featured-content.light {
  background: var(--color-gray-100);
}

.featured-content.light h2,
.featured-content.light h3 {
  color: var(--color-primary);
}

.featured-content.light p {
  color: var(--color-gray-600);
}

.featured-content h2 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.featured-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.featured-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.featured-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ===================== GALLERY GRID ===================== */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay-icon {
  transform: translate(-50%, -50%) scale(1);
}

/* Full gallery */
.gallery-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.625rem 1.25rem;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--color-gray-300);
  color: var(--color-gray-600);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}

.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  aspect-ratio: unset;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.gallery-masonry .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-masonry .gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-2xl);
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-gray-200);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.25rem;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-info span {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-primary) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.15) 0%, transparent 70%);
}

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

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  background: var(--color-gray-100);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

.contact-info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 1rem;
  color: var(--color-primary);
  transition: var(--transition);
}

.contact-info-text a:hover {
  color: var(--color-blue);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-primary);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-red);
  margin-top: 0.375rem;
  display: none;
}

.form-error.visible {
  display: block;
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

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

.form-success {
  background: #d1fae5;
  border: 2px solid #6ee7b7;
  border-radius: var(--border-radius);
  padding: 1rem 1.25rem;
  color: #065f46;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* Opening Hours Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-gray-200);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-gray-600);
}

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #25D366;
  color: var(--color-white);
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-primary);
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

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

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 0.375rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===================== PROCESS STEPS ===================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-red));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.625rem;
  color: var(--color-primary);
}

.process-step p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin: 0;
}

/* ===================== VALUES GRID ===================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-white);
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ===================== DARK SECTION ===================== */
.dark-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a2744 100%);
  color: var(--color-white);
}

.dark-section h2,
.dark-section h3,
.dark-section h4 {
  color: var(--color-white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.75);
}

.dark-section .overline {
  color: var(--color-gold) !important;
}

/* ===================== MAP SECTION ===================== */
.map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

/* ===================== SCROLL ANIMATIONS ===================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animate-left {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-right {
  transform: translateX(30px);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.92);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===================== TILE CATEGORIES ===================== */
.tile-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tile-category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.tile-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile-category-card:hover img {
  transform: scale(1.08);
}

.tile-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.tile-category-overlay h3 {
  font-size: 1.125rem;
  color: var(--color-white);
}

/* ===================== PROJECT TYPES ===================== */
.project-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.project-type-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  cursor: default;
}

.project-type-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.project-type-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.project-type-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.project-type-card h4 {
  font-size: 0.9375rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.project-type-card p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

/* ===================== BADGE ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: var(--border-radius-full);
}

.badge-gold {
  background: rgba(212, 168, 83, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.badge-blue {
  background: rgba(30, 58, 138, 0.1);
  color: var(--color-blue);
  border: 1px solid rgba(30, 58, 138, 0.2);
}

/* ===================== TEAM PLACEHOLDERS ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.team-card h4 {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-card .team-role {
  font-size: 0.875rem;
  color: var(--color-gold);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin: 0;
}

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

/* 1280px */
@media (max-width: 1280px) {
  :root {
    --section-padding: 80px;
  }

  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2rem;
  }

  .featured-content {
    padding: 3.5rem;
  }

  .project-types {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1024px */
@media (max-width: 1024px) {
  :root {
    --section-padding: 70px;
  }

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

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

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrapper img {
    height: 400px;
  }

  .about-split.reverse {
    direction: ltr;
  }

  .featured-split {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 3rem 2rem;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

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

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

  .gallery-masonry {
    columns: 2;
  }
}

/* 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --nav-height: 70px;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Nav */
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .lang-selector {
    display: none;
  }

  /* Hero */
  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-group {
    flex-direction: column;
  }

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

  /* Gallery */
  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-masonry {
    columns: 1;
  }

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

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
  }

  /* Values */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Project types */
  .project-types {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tile categories */
  .tile-categories {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  /* Featured */
  .featured-content {
    padding: 2.5rem 1.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  /* Lightbox */
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}

/* 480px */
@media (max-width: 480px) {
  :root {
    --section-padding: 50px;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
  }

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

  .project-types {
    grid-template-columns: 1fr;
  }

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

  .stat-item {
    border-right: none !important;
  }

  .featured-content {
    padding: 2rem 1.25rem;
  }

  .process-step p {
    display: none;
  }
}

/* =============================================================================
   WHATSAPP CTA COMPONENTS
   ============================================================================= */

/* ---- Nav WhatsApp button ---- */
.nav-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}
.nav-whatsapp-btn:hover,
.nav-whatsapp-btn:focus-visible {
  background: #1ebe5b;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
  color: #fff;
}
.nav-whatsapp-btn svg { flex-shrink: 0; }

/* Hide text on very small screens, keep icon only */
@media (max-width: 380px) {
  .nav-whatsapp-btn span { display: none; }
  .nav-whatsapp-btn { padding: 0.45rem 0.6rem; }
}

/* ---- Generic green WhatsApp button (for heroes, CTAs) ---- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebe5b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}
/* Size variants inherit from .btn-sm / .btn-lg */
.btn-whatsapp.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-whatsapp.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }

/* ---- WhatsApp CTA banner (dark section) ---- */
.whatsapp-cta-section {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.whatsapp-cta-section h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.whatsapp-cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* ---- Mobile menu WhatsApp link ---- */
.mobile-whatsapp-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--border-radius);
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  margin: 0.5rem 1rem;
  justify-content: center;
  transition: var(--transition);
}
.mobile-whatsapp-link:hover { background: #1ebe5b; }

/* ---- Floating WhatsApp button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.9rem 1.4rem 0.9rem 1.1rem;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
  overflow: hidden;
  max-width: 220px;
  will-change: transform;
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebe5b;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.2);
  animation: none;
  color: #fff;
}
.whatsapp-float svg { flex-shrink: 0; width: 26px; height: 26px; }
.whatsapp-float-label {
  white-space: nowrap;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0); }
}

/* Collapse to icon-only on small screens */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.9rem;
    border-radius: 50%;
    max-width: none;
  }
  .whatsapp-float-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}
