/* ===== CSS VARIABLES ===== */
:root {
    --dark:      #1c2535;
    --darker:    #151e2d;
    --orange:    #f0a500;
    --orange-h:  #d99300;
    --blue-acc:  #4a90d9;
    --white:     #ffffff;
    --gray-bg:   #f4f6f8;
    --gray-lt:   #e8eaed;
    --gray-txt:  #6b7280;
    --text:      #1c2535;
    --border:    #dde1e7;
    --radius:    6px;
    --shadow:    0 2px 12px rgba(0,0,0,.10);
    --shadow-h:  0 8px 28px rgba(0,0,0,.18);
    --trans:     .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Barlow', sans-serif;
    background: var(--gray-bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== TOP HEADER ===== */
.top-header {
    background: var(--dark);
    padding: 12px 0;
}
.top-header .inner {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    width: 25%;
    gap: 10px;
    flex-shrink: 0;
    transition: transform var(--trans);
}
.logo:hover { transform: scale(1.04); }
.logo-icon {
    width: 20%; height: 20%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    color: var(--white);
    background: transparent;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo-text {
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px; font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}
.logo-text span { display: block; font-size: 13px; font-weight: 500; opacity: .85; }

/* Search */
.search-bar {
    flex: 1;
    display: flex;
    max-width: 580px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow var(--trans);
}
.search-bar:focus-within { box-shadow: 0 0 0 2px var(--orange); }

.search-cat {
    background: var(--white);
    color: var(--text);
    padding: 0 14px;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    white-space: nowrap;
    height: 42px;
}
.search-cat:hover { background: var(--gray-lt); }

.search-input {
    flex: 1;
    height: 42px;
    border: none;
    padding: 0 14px;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    background: var(--white);
    outline: none;
}
.search-btn {
    background: var(--orange);
    color: var(--white);
    height: 42px;
    padding: 0 22px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px; font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background var(--trans), transform .15s;
    position: relative;
    overflow: hidden;
}
.search-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,.2);
    transform: translateX(-100%);
    transition: transform .3s ease;
}
.search-btn:hover { background: var(--orange-h); }
.search-btn:hover::after { transform: translateX(100%); }
.search-btn:active { transform: scale(.97); }

/* Contact */
.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-left: auto;
    flex-shrink: 0;
}
.contact-icon {
    width: 42px; height: 42px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    opacity: .85;
}
.contact-txt p { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .5px; }
.contact-txt strong { font-size: 15px; font-weight: 700; letter-spacing: .5px; }

/* ===== NAV BAR ===== */
.navbar {
    background: var(--darker);
    border-bottom: 2px solid rgba(255,255,255,.06);
}
.navbar .inner {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 20px 0 0 !important;
    display: flex;
    align-items: stretch;
    justify-content: flex-start !important;
    position: relative;
    height: 60px;
}

.nav-cat-dropdown {
    position: relative;
    flex-shrink: 0;
    margin-left: 0 !important;
}

.nav-cat-btn {
    background: var(--orange);
    color: var(--white);
    padding: 0 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px; font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex; 
    align-items: center; 
    gap: 8px;
    transition: background var(--trans);
    flex-shrink: 0;
    height: 100%;
}
.nav-cat-btn:hover { background: var(--orange-h); }
.nav-cat-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 8px;
}

.nav-cat-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--darker);
    border-bottom: 2px solid var(--orange);
    border-radius: 0 0 6px 6px;
    min-width: 240px;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 1000;
}

.nav-cat-dropdown:hover .nav-cat-menu,
.nav-cat-dropdown:focus-within .nav-cat-menu,
.nav-cat-btn:focus + .nav-cat-menu,
.nav-cat-btn:active + .nav-cat-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-cat-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all var(--trans);
    border-left: 3px solid transparent;
}

.nav-cat-menu a:hover {
    background: rgba(240, 165, 0, .15);
    color: var(--white);
    border-left-color: var(--orange);
    padding-left: 20px;
}

.nav-cat-menu a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: var(--orange);
}

.nav-cat-menu hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 6px 0;
    opacity: .5;
}

.nav-links {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
}
.nav-links a {
    color: rgba(255,255,255,.75);
    padding: 0 2%;
    display: flex; 
    align-items: center;
    justify-content: center;
    font-size: 12px; 
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--trans);
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: 0; left: 18px; right: 18px;
    height: 2px; background: var(--orange);
    transform: scaleX(0);
    transition: transform var(--trans);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-search-btn {
    background: var(--dark);
    color: var(--white);
    padding: 0 12px;
    font-family: 'Barlow', sans-serif;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .20%;
    margin-left: auto !important;
    display: flex; 
    align-items: center;
    transition: background var(--trans);
    border-left: 1px solid rgba(255,255,255,.08);
}
.nav-search-btn:hover { background: #2a3a50; color: var(--orange); }


/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,.75);
    padding: 48px 0 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr) 260px;
    gap: 28px;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li {
    margin-bottom: 9px;
}
.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    transition: color var(--trans), padding-left var(--trans);
    display: inline-block;
}
.footer-col ul li a:hover { color: var(--orange); padding-left: 5px; }

.footer-contact li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; margin-bottom: 8px; color: rgba(255,255,255,.7);
}
.footer-contact li i { color: var(--orange); font-size: 13px; margin-top: 2px; flex-shrink: 0; }

.footer-brand { border-left: 1px solid rgba(255,255,255,.08); padding-left: 24px; }
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.footer-logo-icon {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    flex-shrink: 0;
}
.footer-logo-text {
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
}
.footer-desc { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* Copyright bar */
.copy-bar {
    background: var(--darker);
    border-top: 1px solid rgba(255,255,255,.07);
}
.copy-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.copy-inner p { font-size: 14px; color: rgba(255,255,255,.5); }
.social-links { display: flex; gap: 14px; }
.social-links a {
    color: rgba(255,255,255,.5);
    font-size: 16px;
    transition: color var(--trans), transform .15s;
}
.social-links a:hover { color: var(--orange); transform: translateY(-2px); }

.call-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    transition: transform var(--trans), color var(--trans);
}
.call-link:hover { color: var(--orange-h); transform: translateY(-2px); }

/* ===== COOKIE BANNER ===== */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--darker);
    border-top: 2px solid var(--orange);
    padding: 12px 20px;
    display: flex; align-items: center; justify-content: center; gap: 20px;
    z-index: 999;
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.cookie-bar p { flex: 1; text-align: center; }
.cookie-bar a { color: var(--orange); text-decoration: underline; }
.cookie-accept {
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background var(--trans), transform .15s;
    white-space: nowrap;
}
.cookie-accept:hover { background: var(--orange-h); transform: scale(1.04); }

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-reject {
    background: transparent;
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.4);
    font-size: 13px; font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: border-color var(--trans), color var(--trans), transform .15s;
    white-space: nowrap;
}
.cookie-reject:hover { border-color: var(--white); color: var(--white); transform: scale(1.04); }

.cookie-configure {
    background: var(--blue-acc);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background var(--trans), transform .15s;
    white-space: nowrap;
}
.cookie-configure:hover { background: #3a7fc9; transform: scale(1.04); }

/* ================================================================
    RESPONSIVE DESIGN
================================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   TABLET  (≤ 992px)
================================================================ */
@media (max-width: 992px) {

      /* ---------- HEADER ---------- */
  .top-header .inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
  }
  .search-bar {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .search-cat { width: 100%; }
  .search-input { flex: 1 1 auto; }

  /* ---------- NAVBAR ---------- */
  .navbar .inner { flex-wrap: wrap; gap: 8px; padding: 0 16px; }
  .nav-links { flex-wrap: wrap; gap: 4px; }
  .nav-links a { font-size: 0.85rem; padding: 8px 10px; }
  .nav-search-btn { width: 100%; text-align: center; padding: 10px 0; }
  .nav-search-btn a { display: block; width: 100%; }
/* ---------- PÁGINAS DE TEXTO (condiciones, cookies, plantilla) ---------- */
  .main-wrapper .main_inner,
  .main-wrapper.main_inner {
    padding: 24px 20px;
    max-width: 100%;
  }

  /* ---------- SERVICIOS: grid 2 columnas ---------- */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 16px;
  }
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px 16px;
  }

  /* ---------- TELECOMUNICACIONES ---------- */
  .operators-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* ---------- FOOTER ---------- */
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 16px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ================================================================
   MOBILE LARGE  (≤ 768px)
================================================================ */
@media (max-width: 768px) {

    /* ---------- HEADER ---------- */
  .top-header .inner {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 14px;
  }
  
    .logo {
        justify-content: center; 
        width: auto;
    }
  
    .contact-info {
        margin-left: 0; 
    }

  .search-bar { flex-direction: column; display: none !important; }
  .search-cat,
  .search-input,
  .search-btn { width: 100%; }

  /* ---------- NAVBAR: menú vertical ---------- */
  .navbar .inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
  }
  .nav-cat-btn {
    width: auto;
    align-self: center;
    border-radius: 0;
    text-align: center;
    padding: 12px 16px;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 0.9rem;
  }
  .nav-search-btn {
    width: 100%;
    border-radius: 0;
    text-align: center;
    padding: 12px 16px;
  }
  .nav-search-btn a { display: block; width: 100%; }
/* ---------- BREADCRUMB ---------- */
  .breadcrumb {
    padding: 10px 14px;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* ---------- SECTION HEADER ---------- */
  .section-header {
    padding: 20px 14px 16px;
  }
  .section-header h1 { font-size: 1.6rem; }
  .section-header p  { font-size: 0.9rem; }

  /* ---------- PÁGINAS DE TEXTO ---------- */
  .main-wrapper .main_inner,
  .main-wrapper.main_inner {
    padding: 20px 14px;
  }
  .main-wrapper h1 { font-size: 1.5rem; }
  .main-wrapper h2 { font-size: 1.2rem; }
  .main-wrapper h3 { font-size: 1rem; }
  .main-wrapper p,
  .main-wrapper li { font-size: 0.92rem; line-height: 1.6; }

  /* Cajas de destacado */
  .section-box,
  .highlight {
    padding: 14px;
    margin: 12px 0;
  }

  /* ---------- FORMULARIO ---------- */
  .main-wrapper form {
    width: 100%;
    max-width: 100%;
    padding: 20px 14px;
    margin: 0;
  }
  .main-wrapper form label {
    font-size: 0.9rem;
  }
  .main-wrapper form input,
  .main-wrapper form textarea,
  .main-wrapper form select {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 12px;
  }
  .main-wrapper form textarea {
    min-height: 120px;
    resize: vertical;
  }
  .main-wrapper form button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  /* ---------- SERVICIOS: 1 columna ---------- */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 14px;
  }
  .service-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .service-icon-wrap {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
  .service-icon { font-size: 1.4rem; }
  .service-title { font-size: 1rem; margin-bottom: 6px; }
  .service-desc  { font-size: 0.85rem; }

  /* Feature strip: 2 columnas en mobile grande */
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 14px;
  }
  .feature-strip .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 10px;
    gap: 8px;
  }
  .feature-strip .feature-item i {
    font-size: 1.6rem;
  }
  .feature-strip .feature-item strong { font-size: 0.95rem; }
  .feature-strip .feature-item p     { font-size: 0.8rem; margin: 0; }

  /* ---------- TELECOMUNICACIONES: 2 columnas ---------- */
  .operators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 14px;
  }
  .operator-card { padding: 16px 12px; }
  .operator-logo { height: 60px; }

  /* ---------- FOOTER: 1 columna ---------- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 14px;
  }
  .footer-brand { grid-column: auto; }
  .copy-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 0 14px;
  }
  .social-links { justify-content: center; }

  /* ---------- COOKIE BAR ---------- */
  .cookie-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 14px;
  }
  .cookie-accept {
    width: 100%;
    max-width: 240px;
    align-self: center;
  }
}

/* ================================================================
   MOBILE SMALL  (≤ 480px)
================================================================ */
@media (max-width: 480px) {

  /* ---------- LOGO ---------- */
  .logo-text { font-size: 0.95rem; }
  .logo-icon img { width: 38px; height: 38px; }

  /* ---------- SERVICIOS: 1 columna, cards apiladas ---------- */
  .service-card {
    flex-direction: column;
  }
  .service-icon-wrap {
    width: 48px;
    height: 48px;
  }

  /* Feature strip: 1 columna */
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .feature-strip .feature-item {
    flex-direction: row;
    text-align: left;
    gap: 14px;
    align-items: center;
    padding: 14px;
  }

  /* ---------- TELECOMUNICACIONES: 1 columna ---------- */
  .operators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .operator-card { padding: 14px 8px; }

  /* ---------- PÁGINAS DE TEXTO ---------- */
  .main-wrapper h1 { font-size: 1.3rem; }
  .main-wrapper h2 { font-size: 1.1rem; }

  /* ---------- FOOTER LOGO ---------- */
  .footer-logo { flex-direction: column; gap: 8px; }
  .footer-logo-icon img { width: 40px; height: 40px; }
}


/* ===== PAGE WRAPPER ===== */
.page-wrapper { max-width: 1200px; margin: 30px auto 50px; padding: 0 20px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-txt); margin-bottom: 20px; }
.breadcrumb a { color: var(--orange); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--orange-h); }
.breadcrumb i { font-size: 10px; }

/* Section header */
.section-header { margin-bottom: 28px; }
.section-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--dark); text-transform: uppercase; letter-spacing: .5px; padding-bottom: 10px; border-bottom: 3px solid var(--orange); display: inline-block; }
.section-header p { font-size: 13.5px; color: var(--gray-txt); margin-top: 10px; max-width: 720px; line-height: 1.65; }

/* ===== HERO BANNER ===== */
.hero-banner {
    width: 100%;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    box-shadow: var(--shadow-h);
}
.hero-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform .6s ease;
}
.hero-banner:hover img { transform: scale(1.03); }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(20,30,50,.75) 0%, rgba(20,30,50,.3) 55%, transparent 100%);
    display: flex; align-items: center;
    padding: 40px 50px;
}
.hero-text h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 800;
    color: var(--white); text-transform: uppercase;
    letter-spacing: 1px; line-height: 1.05;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-text h2 span { color: var(--orange); display: block; }
.hero-text p { color: rgba(255,255,255,.8); font-size: 15px; max-width: 380px; line-height: 1.6; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: var(--white);
    padding: 10px 20px; border-radius: var(--radius);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .8px;
    margin-top: 18px;
    transition: background var(--trans), transform .15s;
    cursor: pointer;
}
.hero-badge:hover { background: var(--orange-h); transform: translateY(-2px); }

/* ===== BLOCK TITLE ===== */
.block-title {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px;
}
.block-title h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--dark);
}
.block-title-line { flex: 1; height: 2px; background: var(--border); }
.block-title-icon { color: var(--orange); font-size: 20px; flex-shrink: 0; }

/* ===== CAROUSEL ===== */
.carousel-section { margin-bottom: 48px; }

.carousel-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-h);
    background: var(--white);
}

.carousel-track {
    display: flex;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 480px;
    overflow: hidden;
}
.carousel-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.carousel-slide:hover img { transform: scale(1.02); }

/* Caption overlay */
.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(15,25,40,.85));
    padding: 40px 28px 22px;
    color: var(--white);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}
.carousel-slide:hover .slide-caption { opacity: 1; transform: translateY(0); }
.slide-caption p { font-size: 13px; opacity: .85; }
.slide-caption strong { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 3px; }

/* Nav arrows */
.carousel-btn {
    position: absolute; top: 0; bottom: 0;
    width: 80px;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark); font-size: 16px;
    z-index: 10;
    cursor: pointer;
    transition: background .2s;
    padding: 0;
    border: none;
}
.carousel-btn::before {
    content: '';
    position: absolute;
    width: 46px; height: 46px;
    background: rgba(0,0,0,.08);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(0,0,0,.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--trans), transform .2s;
    z-index: -1;
}
.carousel-btn:hover::before { background: var(--orange); border-color: var(--orange); transform: scale(1.1); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex; justify-content: center; gap: 8px;
    padding: 14px 0 4px;
    background: linear-gradient(transparent, rgba(0,0,0,.3));
    z-index: 8;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gray-txt);
    cursor: pointer;
    transition: background var(--trans), transform .2s, width .25s;
    border: none;
}
.carousel-dot.active {
    background: var(--orange);
    width: 24px;
    border-radius: 4px;
}

/* Counter badge */
.carousel-counter {
    position: absolute; top: 16px; right: 16px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px; font-weight: 600;
    letter-spacing: .5px;
    z-index: 10;
}

/* ===== SINGLE PHOTO GRID ===== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.photo-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    height: 220px;
    transition: transform var(--trans), box-shadow var(--trans);
}
.photo-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-item:hover img { transform: scale(1.06); }
.photo-item .photo-overlay {
    position: absolute; inset: 0;
    background: rgba(15,25,40,.0);
    display: flex; align-items: flex-end;
    padding: 16px;
    transition: background var(--trans);
}
.photo-item:hover .photo-overlay { background: rgba(15,25,40,.4); }
.photo-overlay span {
    color: var(--white); font-size: 13px; font-weight: 600;
    opacity: 0; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.photo-item:hover .photo-overlay span { opacity: 1; transform: translateY(0); }

/* ===== SERVICE CARDS ===== */
.services-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.srv-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 24px 18px 22px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    cursor: default;
    transition: transform var(--trans), box-shadow var(--trans);
    border-bottom: 3px solid transparent;
}
.srv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); border-bottom-color: var(--orange); }
.srv-card-icon { width: 56px; height: 56px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 22px; transition: transform var(--trans); }
.srv-card:hover .srv-card-icon { transform: scale(1.12) rotate(-5deg); }
.srv-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--dark); line-height: 1.25; }
.srv-card p { font-size: 12px; color: var(--gray-txt); line-height: 1.55; }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9000;
    align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.8); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    color: var(--white); font-size: 32px; cursor: pointer;
    opacity: .7; transition: opacity var(--trans), transform var(--trans);
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }