/* ============================================================
   ELITE TOUCH QATAR - Complete Design System
   Mobile-first | Brand: #053d5d + #29b473
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary: #053d5d;
  --color-primary-dark: #032a40;
  --color-primary-light: #0a5a8a;
  --color-accent: #29b473;
  --color-accent-dark: #1a7a50;
  --color-accent-light: #34d48a;
  --color-accent-text: #1a7a50; /* WCAG AA safe on white (4.6:1) */
  --color-gray: #74838c;

  /* Neutrals */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f9;
  --color-bg-dark: #053d5d;
  --color-bg-darker: #032a40;
  --color-text: #1a2b3c;
  --color-text-light: #5a6a78;
  --color-text-muted: #8a97a3;
  --color-line: #e2e8ed;
  --color-line-light: #f0f3f5;

  /* Typography */
  --font-primary: 'Outfit', system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h1: clamp(1.875rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.5rem);
  --fs-h4: clamp(1rem, 1.5vw, 1.25rem);
  --fs-body: clamp(1rem, 1.3vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-caption: 0.875rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --section-py: clamp(3rem, 6vw, 6rem);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --container-wide: 1440px;
  --gutter: clamp(1rem, 3vw, 2rem);

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(5,61,93,0.06), 0 1px 2px rgba(5,61,93,0.04);
  --shadow-md: 0 4px 12px rgba(5,61,93,0.08), 0 2px 4px rgba(5,61,93,0.04);
  --shadow-lg: 0 12px 32px rgba(5,61,93,0.10), 0 4px 8px rgba(5,61,93,0.04);
  --shadow-xl: 0 20px 48px rgba(5,61,93,0.14), 0 8px 16px rgba(5,61,93,0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 500ms;

  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-whatsapp: 500;
  --z-mobile-bar: 600;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-primary); font-size: var(--fs-body); font-weight: var(--fw-regular); line-height: 1.65; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: var(--fw-bold); color: var(--color-primary); }

/* --- @font-face --- */
@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-VariableFont_wght.woff2') format('woff2-variations'),
       url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* --- Accessibility --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: var(--color-white); padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); z-index: 9999; font-weight: var(--fw-semibold); }
.skip-link:focus { top: 1rem; }

/* --- Typography --- */
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p + p { margin-top: var(--space-md); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-py); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: var(--color-white); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-white); }
.section--darker { background: var(--color-bg-darker); color: var(--color-white); }
.section--darker h2, .section--darker h3, .section--darker h4 { color: var(--color-white); }

.section__header { text-align: center; max-width: 700px; margin: 0 auto var(--space-3xl); }
.section__subtitle { display: inline-block; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-accent-text); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-sm); }
.section__title { margin-bottom: var(--space-md); }
.section__desc { color: var(--color-text-light); font-size: var(--fs-body); line-height: 1.7; }
.section--dark .section__desc { color: rgba(255,255,255,0.75); }

/* Grid */
.grid { display: grid; gap: var(--space-xl); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: var(--fs-small); font-weight: var(--fw-semibold); border-radius: var(--radius-sm); transition: all var(--duration-fast) var(--ease-out); white-space: nowrap; min-height: 48px; position: relative; overflow: hidden; }

.btn--primary { background: var(--color-accent); color: var(--color-white); }
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--secondary { background: var(--color-primary); color: var(--color-white); }
.btn--secondary:hover { background: var(--color-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--outline { border: 2px solid var(--color-white); color: var(--color-white); background: transparent; }
.btn--outline:hover { background: var(--color-white); color: var(--color-primary); }

.btn--outline-dark { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline-dark:hover { background: var(--color-primary); color: var(--color-white); }

.btn--ghost { color: var(--color-accent-text); padding: 0.5rem 0; }
.btn--ghost:hover { color: var(--color-accent-dark); }
.btn--ghost svg { transition: transform var(--duration-fast) var(--ease-out); }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--sm { padding: 0.625rem 1.25rem; font-size: var(--fs-caption); min-height: 40px; }
.btn--lg { padding: 1rem 2.5rem; font-size: var(--fs-body); }
.btn--full { width: 100%; }

.btn__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Top Contact Bar --- */
.top-bar { background: var(--color-bg-darker); color: rgba(255,255,255,0.85); font-size: var(--fs-caption); padding: 0.5rem 0; display: none; }
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar__left { display: flex; gap: var(--space-xl); align-items: center; }
.top-bar__right { display: flex; gap: var(--space-lg); align-items: center; }
.top-bar__item { display: flex; align-items: center; gap: 0.375rem; }
.top-bar__item svg { width: 14px; height: 14px; opacity: 0.7; }
.top-bar__item a:hover { color: var(--color-accent-light); }

/* --- Header --- */
.header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--color-white); transition: box-shadow var(--duration-normal) var(--ease-out), padding var(--duration-normal) var(--ease-out); }
.header--scrolled { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; transition: padding var(--duration-normal) var(--ease-out); }
.header--scrolled .header__inner { padding: 0.25rem 0; }
.header__logo { display: flex; align-items: center; gap: 0.5rem; }
.header__logo img { height: 70px; width: auto; transition: height var(--duration-normal) var(--ease-out); }
.header--scrolled .header__logo img { height: 50px; }

/* Desktop Nav */
.nav { display: none; }
.nav__list { display: flex; gap: var(--space-lg); align-items: center; }
.nav__link { font-size: 1rem; font-weight: var(--fw-medium); color: var(--color-text); padding: 0.5rem 0; position: relative; transition: color var(--duration-fast); }
.nav__link:hover, .nav__link--active { color: var(--color-accent-text); }
.nav__link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--color-accent); transition: width var(--duration-normal) var(--ease-out); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

/* Services Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-xl); padding: 0.75rem 0; min-width: 260px; opacity: 0; visibility: hidden; transition: all var(--duration-fast) var(--ease-out); }
.nav__dropdown:hover .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown-link { display: block; padding: 0.5rem 1.25rem; font-size: var(--fs-small); color: var(--color-text); transition: all var(--duration-fast); }
.nav__dropdown-link:hover { background: var(--color-bg-alt); color: var(--color-accent); padding-left: 1.5rem; }

.header__cta { display: none; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; cursor: pointer; background: none; border: none; }
.hamburger__line { display: block; width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: all var(--duration-fast) var(--ease-out); }
.hamburger--active .hamburger__line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger--active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--active .hamburger__line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile Menu Overlay --- */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--color-white); z-index: var(--z-overlay); padding: var(--space-lg) var(--gutter) 5rem; transform: translateX(100%); transition: transform var(--duration-normal) var(--ease-out); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu--open { transform: translateX(0); }
body.menu-open { overflow: hidden; }

/* Close button */
.mobile-menu__close { position: absolute; top: var(--space-md); right: var(--gutter); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); border: none; border-radius: var(--radius-full); cursor: pointer; z-index: 1; }
.mobile-menu__close svg { width: 20px; height: 20px; color: var(--color-primary); }

.mobile-menu__list { display: flex; flex-direction: column; gap: 0; margin-top: var(--space-xl); }
.mobile-menu__link { display: block; font-size: 1.25rem; font-weight: var(--fw-medium); color: var(--color-primary); padding: 1rem 0; border-bottom: 1px solid var(--color-line-light); }
.mobile-menu__link--active { color: var(--color-accent-dark); }
.mobile-menu__sub { display: none; padding-left: var(--space-lg); }
.mobile-menu__sub-link { display: block; font-size: var(--fs-body); color: var(--color-text-light); padding: 0.625rem 0; border-bottom: 1px solid var(--color-line-light); }
.mobile-menu__sub-link:hover { color: var(--color-accent); }

.mobile-menu__contact { display: none; }

/* --- Hero + Emergency Wrapper (mobile: both fit in viewport) --- */
.hero-emergency-wrap { display: flex; flex-direction: column; height: calc(100svh - 86px - 75px); } /* 86px sticky header + 75px mobile bottom bar */

/* --- Hero --- */
.hero { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; overflow: hidden; }
.hero__call-btn { display: none; }
.hero--inner { min-height: 50svh; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(3,26,40,0.88) 0%, rgba(5,61,93,0.72) 50%, rgba(5,61,93,0.55) 100%); }
.hero__content { position: relative; z-index: 2; padding: 2rem 0 2rem; }
.hero__subtitle { display: inline-block; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-accent-light); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: var(--space-md); }
.hero__title { font-size: var(--fs-display); color: var(--color-white); font-weight: var(--fw-bold); margin-bottom: var(--space-lg); line-height: 1.1; }
.hero__title span { color: var(--color-accent-light); }
.hero__desc { font-size: clamp(1rem, 1.5vw, 1.1875rem); color: rgba(255,255,255,0.85); max-width: 560px; line-height: 1.7; margin-bottom: var(--space-2xl); }
.hero__actions { display: flex; flex-direction: column; gap: var(--space-md); }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: var(--fs-caption); animation: scrollBounce 2s infinite; z-index: 2; }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Emergency Banner --- */
.emergency-bar { background: linear-gradient(135deg, var(--color-accent) 0%, #1a7a50 100%); padding: 0.625rem 0; position: relative; overflow: hidden; }
.emergency-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #291a63 0%, #1a1245 100%); animation: emergencyFade 8s ease-in-out infinite; z-index: 0; }
@keyframes emergencyFade {
  0%, 100% { opacity: 0; }
  45%, 55% { opacity: 1; }
}
.emergency-bar__inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem var(--space-lg); flex-wrap: wrap; position: relative; z-index: 1; text-align: center; }
.emergency-bar__badge { display: flex; align-items: center; gap: 0.5rem; }
.emergency-bar__pulse { width: 10px; height: 10px; background: #fff; border-radius: 50%; position: relative; flex-shrink: 0; }
.emergency-bar__pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6); animation: emergencyPulse 2s ease-out infinite; }
.emergency-bar__label { font-size: var(--fs-small); font-weight: var(--fw-bold); color: #fff; text-transform: uppercase; letter-spacing: 0.08em; }
.emergency-bar__text { font-size: var(--fs-caption); color: rgba(255,255,255,0.9); }
.emergency-bar__cta { display: inline-flex; align-items: center; gap: 0.375rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); padding: 0.375rem 1rem; border-radius: var(--radius-full); font-size: var(--fs-caption); font-weight: var(--fw-semibold); color: #fff; transition: all var(--duration-fast); white-space: nowrap; }
@media (max-width: 767px) {
  .emergency-bar__cta { display: none !important; }
}
.emergency-bar__cta:hover { background: rgba(255,255,255,0.25); }
.emergency-bar__cta svg { width: 14px; height: 14px; }
@keyframes emergencyPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* --- Trust Bar --- */
.trust-bar { background: var(--color-white); border-bottom: 1px solid var(--color-line); padding: var(--space-2xl) 0; }
.trust-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.trust-bar__item { display: flex; align-items: center; gap: 0.625rem; }
.trust-bar__icon { width: 42px; height: 42px; background: var(--color-bg-alt); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-bar__icon svg { width: 30px; height: 30px; color: var(--color-accent); }
.trust-bar__icon img { width: 30px; height: 30px; }
.trust-bar__text { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-primary); line-height: 1.3; }

/* --- Service Cards --- */
.service-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); border: 1px solid var(--color-line-light); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__img { aspect-ratio: 16/10; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: var(--space-lg); }
.service-card__title { font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.service-card__desc { font-size: var(--fs-small); color: var(--color-text-light); line-height: 1.6; margin-bottom: var(--space-md); }
.service-card__link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-accent-dark); }
.service-card__link svg { width: 16px; height: 16px; transition: transform var(--duration-fast) var(--ease-out); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* Mini service cards (comprehensive solutions) */
.service-mini { display: flex; gap: var(--space-lg); padding: var(--space-lg); background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-line-light); transition: all var(--duration-normal) var(--ease-out); }
.service-mini:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-mini__icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--color-bg-alt), var(--color-white)); border: 1px solid var(--color-line); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-mini__icon svg { width: 26px; height: 26px; color: var(--color-accent); }
.service-mini__title { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--space-xs); }
.service-mini__desc { font-size: var(--fs-small); color: var(--color-text-light); line-height: 1.5; }

/* --- Why / Pillars --- */
.pillar { text-align: center; padding: var(--space-xl); }
.pillar__number { font-size: var(--fs-display); font-weight: var(--fw-bold); color: var(--color-accent); opacity: 0.15; line-height: 1; margin-bottom: var(--space-sm); }
.pillar__title { font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.pillar__desc { font-size: var(--fs-small); color: var(--color-text-light); line-height: 1.6; }
.section--dark .pillar__desc { color: rgba(255,255,255,0.7); }
.section--dark .pillar__number { color: var(--color-accent-light); }

/* --- CTA Banner --- */
/* CTA with background image */
.cta-section { position: relative; overflow: hidden; }
.cta-section__bg { position: absolute; inset: 0; z-index: 0; }
.cta-section__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-section__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(41,180,115,0.85) 0%, rgba(5,61,93,0.82) 40%, rgba(3,42,64,0.88) 100%); }
.cta-section .container { position: relative; z-index: 1; }

.cta-banner { text-align: center; padding: var(--space-3xl) var(--gutter); }
.cta-banner__title { font-size: var(--fs-h2); color: var(--color-white); margin-bottom: var(--space-md); }
.cta-banner__desc { color: rgba(255,255,255,0.8); max-width: 550px; margin: 0 auto var(--space-2xl); line-height: 1.7; }
.cta-banner__actions { display: flex; flex-direction: column; gap: var(--space-md); align-items: center; justify-content: center; }
.cta-banner__actions .btn { width: 100%; max-width: 320px; }

/* --- How It Works / Process --- */
.process { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); counter-reset: step; }
.process__step { position: relative; text-align: center; }
.process__number { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--color-accent); color: var(--color-white); border-radius: var(--radius-full); font-size: 1.25rem; font-weight: var(--fw-bold); margin-bottom: var(--space-md); position: relative; }
.process__title { font-size: var(--fs-h4); margin-bottom: var(--space-sm); }
.process__desc { font-size: var(--fs-small); color: var(--color-text-light); line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* --- Testimonials --- */
.testimonials__grid { display: flex; gap: var(--space-xl); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: var(--space-md); }
.testimonials__grid::-webkit-scrollbar { display: none; }

.testimonial { min-width: 300px; max-width: 400px; background: var(--color-white); border: 1px solid var(--color-line-light); border-radius: var(--radius-md); padding: var(--space-xl); flex-shrink: 0; }
.testimonial__stars { display: flex; gap: 2px; margin-bottom: var(--space-md); }
.testimonial__stars svg { width: 18px; height: 18px; color: #f5a623; fill: #f5a623; }
.testimonial__text { font-size: var(--fs-body); color: var(--color-text); line-height: 1.7; margin-bottom: var(--space-lg); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar { width: 44px; height: 44px; background: var(--color-bg-alt); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); color: var(--color-accent-text); font-size: var(--fs-body); }
.testimonial__name { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-primary); }
.testimonial__role { font-size: var(--fs-caption); color: var(--color-text-light); }

/* --- Contact Strip --- */
.contact-strip { }
.section--dark.contact-strip .contact-strip__item { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.section--dark.contact-strip .contact-strip__item:hover { border-color: var(--color-accent); background: rgba(255,255,255,0.1); }
.section--dark.contact-strip .contact-strip__label { color: var(--color-white); }
.section--dark.contact-strip .contact-strip__value { color: rgba(255,255,255,0.5); }
.section--dark.contact-strip .contact-strip__icon { background: rgba(255,255,255,0.1); color: var(--color-white); }
.section--dark.contact-strip .contact-strip__icon--phone { background: rgba(255,255,255,0.1); color: var(--color-white); }
.section--dark.contact-strip .contact-strip__icon--book { background: rgba(255,255,255,0.1); color: var(--color-white); }
.contact-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.contact-strip__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: var(--space-xl) var(--space-md); background: var(--color-white); border-radius: var(--radius-md); border: 1px solid var(--color-line-light); transition: all var(--duration-normal) var(--ease-out); }
.contact-strip__item:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-strip__icon { width: 52px; height: 52px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.contact-strip__icon--phone { background: rgba(5,61,93,0.08); color: var(--color-primary); }
.contact-strip__icon--whatsapp { background: rgba(37,211,102,0.1); color: #25d366; }
.contact-strip__icon--email { background: rgba(41,180,115,0.1); color: var(--color-accent); }
.contact-strip__icon--book { background: rgba(5,61,93,0.08); color: var(--color-primary); }
.contact-strip__icon svg { width: 24px; height: 24px; }
.contact-strip__label { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-primary); }
.contact-strip__value { font-size: var(--fs-caption); color: var(--color-text-muted); }

/* --- Footer --- */
.footer { background: var(--color-bg-darker); color: rgba(255,255,255,0.75); padding: var(--space-2xl) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: start; text-align: center; }
.footer__brand { max-width: none; text-align: center; }
.footer__logo { margin-left: auto; margin-right: auto; }
.footer__social { justify-content: center; }
.footer__contact-item { justify-content: center; }
.footer__logo { height: 80px; width: auto; margin: 0 auto var(--space-lg) auto; display: block; }
.footer__tagline { font-size: var(--fs-small); line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer__heading { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--color-white); margin-bottom: var(--space-lg); }
.footer__links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__link { font-size: var(--fs-small); color: rgba(255,255,255,0.6); transition: color var(--duration-fast); }
.footer__link:hover { color: var(--color-accent-light); }
.footer__contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: var(--space-md); font-size: var(--fs-small); }
.footer__contact-item svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer__social { display: flex; gap: var(--space-md); margin-top: var(--space-lg); }
.footer__social-link { width: 40px; height: 40px; border-radius: var(--radius-full); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--duration-fast); }
.footer__social-link:hover { background: var(--color-accent); }
.footer__social-link svg { width: 18px; height: 18px; color: var(--color-white); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--space-xl); padding: 1.25rem 0; display: flex; flex-direction: column; gap: 0.375rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer__copy { font-size: var(--fs-caption); color: rgba(255,255,255,0.6); line-height: 1; }
.footer__credit { font-size: var(--fs-caption); color: rgba(255,255,255,0.3); line-height: 1; }
.footer__credit a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__credit a:hover { color: var(--color-accent-light); }

/* --- Floating WhatsApp --- */
.whatsapp-float { position: fixed; bottom: 2rem; right: 1.5rem; z-index: var(--z-whatsapp); width: 56px; height: 56px; background: #25d366; border-radius: var(--radius-full); display: none; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.35); transition: all var(--duration-fast) var(--ease-out); animation: whatsappPulse 3s infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--color-white); }

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.55), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* --- Sticky Mobile Bottom Bar --- */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-mobile-bar); background: var(--color-white); border-top: 1px solid var(--color-line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem; padding: 0.5rem 0.5rem; padding-bottom: max(0.5rem, env(safe-area-inset-bottom)); box-shadow: 0 -2px 12px rgba(0,0,0,0.08); }
.mobile-bar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; padding: 0.375rem 0.25rem; font-size: 0.6875rem; font-weight: var(--fw-semibold); border-radius: var(--radius-sm); min-height: 48px; }
.mobile-bar__btn svg { width: 22px; height: 22px; }
.mobile-bar__btn--call { color: #fff; background: var(--color-accent); border: none; border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.mobile-bar__btn--call::before { content: ''; position: absolute; inset: 0; background: #291a63; animation: emergencyFade 8s ease-in-out infinite; z-index: 0; border-radius: var(--radius-sm); }
.mobile-bar__btn--call svg, .mobile-bar__btn--call span { position: relative; z-index: 1; color: #fff; }
.mobile-bar__btn--whatsapp { color: #25d366; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm); }
.mobile-bar__btn--book { background: #032A40; color: var(--color-white); border-radius: var(--radius-sm); }

/* Body padding for mobile bar */
body { padding-bottom: 70px; }

/* --- Page Hero (inner pages) --- */
.page-hero { position: relative; padding: 3.5rem 0 1.5rem; background: var(--color-bg-dark); overflow: hidden; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; opacity: 0.2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: var(--fs-caption); color: rgba(255,255,255,0.6); margin-bottom: var(--space-sm); }
.page-hero__breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero__breadcrumb a:hover { color: var(--color-accent-light); }
.page-hero__breadcrumb svg { width: 14px; height: 14px; }
.page-hero__title { font-size: var(--fs-h1); color: var(--color-white); }
.page-hero__desc { color: rgba(255,255,255,0.75); margin-top: var(--space-sm); max-width: 600px; margin-left: auto; margin-right: auto; font-size: var(--fs-body); }

/* --- Form Styles --- */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--color-primary); margin-bottom: var(--space-sm); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  font-size: 16px; /* prevents iOS zoom */
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  background: var(--color-white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(41,180,115,0.15);
  outline: none;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: var(--fs-caption); color: #e53e3e; margin-top: 0.25rem; }

/* Multi-step form wizard */
.form-wizard__steps { display: flex; justify-content: center; gap: var(--space-sm); margin-bottom: var(--space-2xl); }
.form-wizard__step { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-caption); color: var(--color-text-muted); }
.form-wizard__step--active { color: var(--color-accent-text); font-weight: var(--fw-semibold); }
.form-wizard__step--done { color: var(--color-primary); }
.form-wizard__dot { width: 32px; height: 32px; border-radius: var(--radius-full); border: 2px solid var(--color-line); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: var(--fs-small); transition: all var(--duration-fast); }
.form-wizard__step--active .form-wizard__dot { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); }
.form-wizard__step--done .form-wizard__dot { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.form-wizard__connector { width: 40px; height: 2px; background: var(--color-line); }
.form-wizard__step--done + .form-wizard__connector { background: var(--color-primary); }
.form-wizard__panel { display: none; }
.form-wizard__panel--active { display: block; animation: fadeIn 0.3s var(--ease-out); }

/* Service type selection grid */
.service-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
.service-select__option { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: var(--space-md); border: 2px solid var(--color-line); border-radius: var(--radius-md); cursor: pointer; transition: all var(--duration-fast); text-align: center; }
.service-select__option:hover { border-color: var(--color-accent); background: rgba(41,180,115,0.04); }
.service-select__option--selected { border-color: var(--color-accent); background: rgba(41,180,115,0.08); }
.service-select__option svg { width: 28px; height: 28px; color: var(--color-accent); }
.service-select__option span { font-size: var(--fs-small); font-weight: var(--fw-medium); }

/* --- Booking Modal --- */
.modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(3,26,40,0.75); display: flex; align-items: center; justify-content: center; padding: var(--space-md); opacity: 0; pointer-events: none; transition: opacity var(--duration-normal) var(--ease-out); }
.modal-overlay.modal-overlay--open { opacity: 1; pointer-events: auto; }

.modal { background: var(--color-primary-dark); border-radius: var(--radius-xl); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: 0 32px 80px rgba(0,0,0,0.3); transform: translateY(24px) scale(0.97); transition: transform var(--duration-normal) var(--ease-out); position: relative; }
@media (min-width: 768px) {
  .modal { max-width: 600px; }
  .modal__header { padding: var(--space-2xl) var(--space-2xl) var(--space-xl); }
  .modal__body { padding: var(--space-2xl); }
  .modal__steps { margin-bottom: var(--space-2xl); }
  .modal__step-dot { width: 36px; height: 36px; }
  .modal__panel-title { font-size: var(--fs-h4); margin-bottom: var(--space-xl); }
  .modal__service-opt { padding: var(--space-md) var(--space-sm); gap: 0.5rem; }
  .modal__service-opt img { width: 32px; height: 32px; }
  .modal__nav { margin-top: var(--space-xl); gap: var(--space-md); }
}
.modal-overlay.modal-overlay--open .modal { transform: translateY(0) scale(1); }

.modal__header { position: relative; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); padding: var(--space-lg) var(--space-lg) var(--space-md); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal__header::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 4px; background: var(--color-accent); }
.modal__close { position: absolute; top: var(--space-md); right: var(--space-md); width: 36px; height: 36px; border-radius: var(--radius-full); background: rgba(255,255,255,0.1); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--duration-fast); color: rgba(255,255,255,0.7); }
.modal__close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }
.modal__title { color: var(--color-white); font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.modal__subtitle { color: rgba(255,255,255,0.6); font-size: var(--fs-small); }

.modal__body { padding: var(--space-lg); background: var(--color-white); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

/* Modal Steps Indicator */
.modal__steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: var(--space-lg); }
.modal__step-dot { width: 30px; height: 30px; border-radius: var(--radius-full); border: 2px solid var(--color-line); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--color-text-muted); transition: all var(--duration-fast); flex-shrink: 0; }
.modal__step-dot--active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-white); box-shadow: 0 4px 12px rgba(41,180,115,0.3); }
.modal__step-dot--done { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.modal__step-line { width: 48px; height: 2px; background: var(--color-line); flex-shrink: 0; }
.modal__step-line--done { background: var(--color-primary); }

/* Modal Step Panels */
.modal__panel { display: none; animation: fadeIn 0.3s var(--ease-out); }
.modal__panel--active { display: block; }
.modal__panel-title { font-size: var(--fs-body); font-weight: var(--fw-semibold); text-align: center; margin-bottom: var(--space-md); color: var(--color-primary); }

/* Service Selection Grid in Modal */
.modal__services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem; margin-bottom: var(--space-md); }
.modal__service-opt { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.5rem 0.25rem; border: 1.5px solid var(--color-line); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--duration-fast); text-align: center; background: var(--color-white); }
.modal__service-opt:hover { border-color: var(--color-accent); background: rgba(41,180,115,0.03); }
.modal__service-opt--selected { border-color: var(--color-accent); background: rgba(41,180,115,0.06); box-shadow: 0 0 0 1px var(--color-accent); }
.modal__service-opt img { width: 24px; height: 24px; opacity: 0.6; }
.modal__service-opt--selected img { opacity: 1; }
.modal__service-opt span { font-size: var(--fs-caption); font-weight: var(--fw-semibold); color: var(--color-primary); }

/* Modal Form Fields */
.modal__field { margin-bottom: var(--space-lg); }
.modal__field label { display: block; font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--space-sm); }
.modal__field input, .modal__field select, .modal__field textarea { width: 100%; padding: 0.875rem 1rem; font-size: 16px; border: 2px solid var(--color-line); border-radius: var(--radius-md); transition: all var(--duration-fast); background: var(--color-bg-alt); }
.modal__field input:focus, .modal__field select:focus, .modal__field textarea:focus { border-color: var(--color-accent); background: var(--color-white); box-shadow: 0 0 0 4px rgba(41,180,115,0.1); outline: none; }
.modal__field textarea { resize: vertical; min-height: 100px; }

/* Modal Navigation Buttons */
.modal__nav { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.modal__nav .btn { flex: 1; }
.modal__nav .btn--back { background: var(--color-bg-alt); color: var(--color-text); border: 1px solid var(--color-line); }
.modal__nav .btn--back:hover { background: var(--color-line); }

/* Modal Success */
.modal__success { text-align: center; padding: var(--space-2xl) 0; }
.modal__success-icon { width: 64px; height: 64px; margin: 0 auto var(--space-lg); background: rgba(41,180,115,0.1); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; }
.modal__success-icon svg { width: 32px; height: 32px; color: var(--color-accent); }
.modal__success h3 { color: var(--color-primary); margin-bottom: var(--space-sm); }
.modal__success p { color: var(--color-text-light); font-size: var(--fs-small); }

@media (min-width: 480px) {
  .modal__services { grid-template-columns: repeat(3, 1fr); }
}

/* --- Cookie Consent Banner --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000; background: var(--color-white); box-shadow: 0 -8px 32px rgba(0,0,0,0.12); transform: translateY(100%); transition: transform 0.4s var(--ease-out); }
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-md) var(--gutter); }
.cookie-banner__compact { display: flex; flex-direction: column; gap: var(--space-sm); }
.cookie-banner__text { font-size: var(--fs-caption); color: var(--color-text-light); line-height: 1.5; margin: 0; }
.cookie-banner__link { color: var(--color-accent); font-weight: var(--fw-semibold); text-decoration: underline; }
.cookie-banner__compact-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.cookie-banner__details { display: none; }
.cookie-banner__details--open { display: block; margin-top: var(--space-md); }
.cookie-banner__detail-actions { margin-top: var(--space-md); }

.cookie-banner__categories { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.cookie-cat { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; padding: 0.75rem 1rem; border: 1px solid var(--color-line); border-radius: var(--radius-sm); transition: border-color var(--duration-fast); }
.cookie-cat:hover { border-color: var(--color-accent); }
.cookie-cat input { display: none; }
.cookie-cat__check { width: 20px; height: 20px; border: 2px solid var(--color-line); border-radius: 4px; flex-shrink: 0; margin-top: 2px; position: relative; transition: all var(--duration-fast); }
.cookie-cat input:checked + .cookie-cat__check { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-cat input:checked + .cookie-cat__check::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cookie-cat__check--locked { background: var(--color-gray); border-color: var(--color-gray); opacity: 0.6; }
.cookie-cat__check--locked::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cookie-cat__info { display: flex; flex-direction: column; gap: 0.125rem; }
.cookie-cat__info strong { font-size: var(--fs-small); color: var(--color-primary); }
.cookie-cat__info small { font-size: var(--fs-caption); color: var(--color-text-muted); line-height: 1.4; }

.cookie-btn { padding: 0.625rem 1.25rem; font-size: var(--fs-caption); font-weight: var(--fw-semibold); border-radius: var(--radius-sm); border: none; cursor: pointer; transition: all var(--duration-fast); min-height: 40px; }
.cookie-btn--accept { background: var(--color-accent); color: #fff; }
.cookie-btn--accept:hover { background: var(--color-accent-dark); }
.cookie-btn--selected { background: var(--color-primary); color: #fff; }
.cookie-btn--selected:hover { background: var(--color-primary-light); }
.cookie-btn--reject { background: var(--color-bg-alt); color: var(--color-text); border: 1px solid var(--color-line); }
.cookie-btn--reject:hover { background: var(--color-line); }
.cookie-btn--manage { background: transparent; color: var(--color-primary); border: 1px solid var(--color-line); }

@media (min-width: 480px) {
  .cookie-banner__categories { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cookie-banner__inner { padding: var(--space-lg) var(--gutter); }
  .cookie-banner__compact { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner__text { flex: 1; margin-right: var(--space-lg); }
  .cookie-banner__compact-actions { flex-wrap: nowrap; }
  .cookie-banner__categories { grid-template-columns: repeat(4, 1fr); }
  .cookie-btn { padding: 0.75rem 1.5rem; font-size: var(--fs-small); min-height: 44px; }
}

/* Cookie Policy Page Styles */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { font-size: var(--fs-h3); margin-top: var(--space-2xl); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-bg-alt); }
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content p { color: var(--color-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.policy-content ul { margin: var(--space-md) 0 var(--space-lg) var(--space-lg); }
.policy-content li { color: var(--color-text-light); line-height: 1.8; margin-bottom: var(--space-sm); position: relative; padding-left: var(--space-md); }
.policy-content li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--color-accent); border-radius: 50%; }
.policy-content strong { color: var(--color-primary); }
.cookie-table { width: 100%; border-collapse: collapse; margin: var(--space-xl) 0; }
.cookie-table th, .cookie-table td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--color-line); font-size: var(--fs-small); }
.cookie-table th { background: var(--color-bg-alt); font-weight: var(--fw-semibold); color: var(--color-primary); white-space: nowrap; }
.cookie-table td { color: var(--color-text-light); }
.cookie-table tr:hover td { background: rgba(41,180,115,0.03); }
.cookie-badge { display: inline-block; padding: 0.25rem 0.625rem; border-radius: var(--radius-full); font-size: 0.6875rem; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.05em; }
.cookie-badge--essential { background: rgba(5,61,93,0.1); color: var(--color-primary); }
.cookie-badge--analytics { background: rgba(41,180,115,0.1); color: var(--color-accent-dark); }
.cookie-badge--marketing { background: rgba(245,166,35,0.1); color: #c47d10; }
.cookie-badge--functional { background: rgba(116,131,140,0.1); color: var(--color-gray); }

/* --- Portfolio Grid --- */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
.portfolio-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,26,40,0.85) 0%, transparent 50%); opacity: 0; transition: opacity var(--duration-normal) var(--ease-out); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-lg); }
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__title { font-size: var(--fs-h4); color: var(--color-white); margin-bottom: var(--space-xs); }
.portfolio-item__tag { font-size: var(--fs-caption); color: var(--color-accent-light); }

/* --- About Page --- */
.about-intro { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: center; }
.about-intro__text h2 { margin-bottom: var(--space-lg); }
.about-intro__text p { color: var(--color-text-light); line-height: 1.8; margin-bottom: var(--space-md); }
.about-intro__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.about-quote { background: var(--color-bg-alt); border-left: 4px solid var(--color-accent); padding: var(--space-lg) var(--space-xl); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: var(--space-xl) 0; }
.about-quote__text { font-size: var(--fs-h4); font-style: italic; color: var(--color-primary); font-weight: var(--fw-medium); }

.vm-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: var(--space-2xl); border-left: 4px solid var(--color-accent); }
.vm-card__label { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--color-accent-light); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-sm); }
.vm-card__title { font-size: var(--fs-h3); color: var(--color-white); margin-bottom: var(--space-lg); line-height: 1.35; }
.vm-card__list { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.vm-card__list-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-small); color: rgba(255,255,255,0.8); line-height: 1.5; }
.vm-card__list-item svg { width: 18px; height: 18px; color: var(--color-accent-light); flex-shrink: 0; margin-top: 2px; }

.service-block { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); align-items: center; padding: var(--space-2xl) 0; border-bottom: 1px solid var(--color-line-light); }
.service-block:last-child { border-bottom: none; }
.service-block--reverse .service-block__img { order: 0; }
.service-block__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.service-block__img img { width: 100%; height: 100%; object-fit: cover; }
.service-block__label { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-sm); }
.service-block__title { font-size: var(--fs-h3); margin-bottom: var(--space-md); }
.service-block__list { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.service-block__list-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: var(--fs-small); color: var(--color-text-light); line-height: 1.5; }
.service-block__list-item svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; margin-top: 3px; }

.sector-card { background: var(--color-white); border: 1px solid var(--color-line-light); border-radius: var(--radius-md); padding: var(--space-xl); text-align: center; transition: all var(--duration-normal) var(--ease-out); }
.sector-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sector-card__icon { width: 48px; height: 48px; margin: 0 auto var(--space-md); color: var(--color-accent); }
.sector-card__title { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--color-primary); }

.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); text-align: center; padding: var(--space-2xl) 0; }
.stat__icon { width: 48px; height: 48px; margin: 0 auto var(--space-md); opacity: 0.6; filter: brightness(0) invert(1); }
.stat__number { font-size: var(--fs-display); font-weight: var(--fw-bold); color: var(--color-accent); line-height: 1; }
.stat__label { font-size: var(--fs-small); color: var(--color-text-light); margin-top: var(--space-sm); }
.section--dark .stat__label { color: rgba(255,255,255,0.85); }
.section--dark .stat__number { color: var(--color-accent-light); }

@media (min-width: 768px) {
  .about-intro { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-block--reverse .service-block__img { order: 1; }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

/* --- Scroll Reveal Animations --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.reveal--visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Services Carousel --- */
.services-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 var(--gutter) var(--space-md); }
.services-carousel::-webkit-scrollbar { display: none; }
.services-carousel__track { display: flex; gap: var(--space-xl); width: max-content; }
.services-carousel .service-card { min-width: 85vw; max-width: 320px; flex-shrink: 0; }
@media (min-width: 480px) { .services-carousel .service-card { min-width: 280px; } }
.service-card__icon-badge { position: absolute; top: var(--space-sm); right: var(--space-sm); width: 40px; height: 40px; background: rgba(255,255,255,0.92); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.service-card__icon-badge img { width: 24px; height: 24px; }
.service-card__img { position: relative; }

/* --- Hero Video --- */
.hero__video { display: none; }
.hero__mobile-img { display: block; }
.hero__mobile-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- Marquee Bands --- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--color-primary); padding: 1rem 0; }
.marquee--accent { background: var(--color-accent); }
.marquee--prefooter { background: var(--color-accent); }
.marquee__inner { display: inline-flex; animation: marqueeScroll 70s linear infinite; }
.marquee--reverse .marquee__inner { animation-direction: reverse; }
.marquee__text { display: inline-block; font-size: clamp(0.9375rem, 1.5vw, 1.125rem); font-weight: var(--fw-semibold); color: var(--color-white); text-transform: uppercase; letter-spacing: 0.08em; padding-right: 0; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

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

/* Large phones: 480px+ */
@media (min-width: 480px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .service-select { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet: 768px+ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .whatsapp-float { display: flex; }
  .top-bar { display: block; }

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

  .hero-emergency-wrap { height: auto; display: block; }
  .hero__scroll { display: flex; }
  .hero__video { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
  .hero__mobile-img { display: none; }
  .hero__actions { flex-direction: row; }
  .hero__content { padding: 3rem 0 5rem; }
  .hero { min-height: 75svh; }
  .hero__call-btn { display: inline-flex; }

  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
  .trust-bar__item { gap: 1rem; }
  .trust-bar__icon { width: 56px; height: 56px; }
  .trust-bar__text { font-size: 1rem; }

  .cta-banner__actions { flex-direction: row; }
  .cta-banner__actions .btn { width: auto; max-width: none; }

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

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

  .footer__grid { grid-template-columns: 1.2fr 0.7fr 0.8fr 1fr; text-align: left; gap: var(--space-lg); }
  .footer__brand { text-align: left; max-width: none; }
  .footer__logo { margin-left: 0; margin-right: 0; height: 60px; }
  .footer__social { justify-content: flex-start; }
  .footer__contact-item { justify-content: flex-start; }
  .footer__tagline { font-size: var(--fs-caption); }
  /* footer__bottom already row by default */

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

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .hamburger { display: none; }
  .header__cta { display: inline-flex; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero { padding: 5rem 0 2.5rem; text-align: left; }
  .page-hero__breadcrumb { justify-content: flex-start; }
  .page-hero__desc { margin-left: 0; margin-right: 0; }

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

  .process { grid-template-columns: repeat(4, 1fr); }
  .process__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent), var(--color-line));
    z-index: -1;
  }

  .testimonial { min-width: 350px; }

  .footer__grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: var(--space-xl); }
  .footer__logo { height: 80px; }
  .footer__tagline { font-size: var(--fs-small); }

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

/* Wide: 1280px+ */
@media (min-width: 1280px) {
  .hero__content { padding: 10rem 0 8rem; }
}
