/* ==========================================================================
   TESSUTISSIMO - Stili Ufficiali
   Palette e layout basati sul design di riferimento del brand:
   Blu notte, Arancione brillante, Rosso vivo e finiture moderne responsive.
   ========================================================================== */

:root {
  --blue-dark: #0a1738;
  --blue-primary: #0d1e47;
  --blue-card: #0c1a3e;
  --blue-hover: #142a63;
  --orange-primary: #f37023;
  --orange-light: #ff7d33;
  --orange-dark: #d85d14;
  --orange-border: #f37023;
  --gold-accent: #f8a51d;
  --red-accent: #cc151b;
  --gray-box: #7f7a6e;
  --gray-bg: #f5f6f8;
  --gray-light: #fbfbfb;
  --text-dark: #1f2937;
  --text-gray: #4b5563;
  --text-light: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --radius: 6px;
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR (Contatti Rapidi)
   ========================================================================== */
.top-bar {
  background-color: var(--orange-primary);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-light);
}

.top-bar-item:hover {
  color: #fff;
  text-decoration: underline;
}

.top-bar-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   HEADER PRINCIPALE & NAVIGAZIONE
   ========================================================================== */
.site-header {
  background-color: var(--blue-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Menu di navigazione */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 10px 4px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-accent);
  transition: width 0.2s ease-in-out;
}

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

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--blue-dark);
  min-width: 270px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--orange-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 0;
  z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e5e7eb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-link:hover {
  background-color: var(--blue-hover);
  color: var(--gold-accent);
  padding-left: 22px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   BANNER TESTATA: IL MONDO DEL TESSUTO
   ========================================================================== */
.hero-title-section {
  text-align: center;
  padding: 30px 0 15px;
  background-color: #ffffff;
}

.red-brand-box {
  background-color: var(--red-accent);
  color: #ffffff;
  display: inline-block;
  padding: 12px 42px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(204, 21, 27, 0.35);
}

.hero-subtitle-primary {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.hero-subtitle-secondary {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-primary);
}

/* ==========================================================================
   SEZIONE HERO VETRINA (SLIDER + BOX SARTORIA)
   ========================================================================== */
.hero-showcase {
  padding: 25px 0 35px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* Slider interattivo */
.slider-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  background-color: #000;
  box-shadow: var(--shadow-sm);
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(10, 23, 56, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--orange-primary);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
}

/* Colonna destra Negozio & Sartoria */
.showcase-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-headings {
  text-align: center;
  padding: 5px 0 15px;
}

.showcase-headings h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-primary);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.showcase-headings h3 {
  color: var(--blue-primary);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.gray-service-box {
  background-color: var(--gray-box);
  color: #ffffff;
  padding: 24px 20px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.gray-service-box p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* ==========================================================================
   DUE SCHEDE INFORMATIVE: ORARI & DOVE SIAMO
   ========================================================================== */
.info-cards-section {
  padding: 10px 0 35px;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-box-card {
  background-color: var(--blue-card);
  border: 4px solid var(--orange-border);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 25px 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-box-icon {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold-accent);
  border: 2px solid var(--gold-accent);
  padding: 3px 8px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.info-box-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold-accent);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Tabella orari */
.hours-list {
  width: 100%;
  max-width: 440px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}

.hours-day {
  color: #ffffff;
}

.hours-time {
  color: #f1f5f9;
}

/* Dove Siamo dettagli */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
}

.location-address {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.location-contacts {
  color: var(--gold-accent);
  font-size: 1rem;
}

.location-contacts a {
  color: var(--gold-accent);
}

.location-contacts a:hover {
  text-decoration: underline;
}

.highway-badge {
  background-color: rgba(243, 112, 35, 0.2);
  border: 1px dashed var(--orange-primary);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   BANNER CASA MADRE (MAXIM1927)
   ========================================================================== */
.casa-madre-banner {
  background-color: #ededed;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 15px 0 35px;
}

.casa-madre-title {
  color: #555555;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 15px;
  text-transform: uppercase;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-orange {
  display: inline-block;
  background-color: var(--orange-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 6px rgba(243, 112, 35, 0.35);
  border: none;
  cursor: pointer;
}

.btn-orange:hover {
  background-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(243, 112, 35, 0.45);
}

/* ==========================================================================
   GRIGLIA DELLE 6 CARD PRODOTTO / SERVIZI
   ========================================================================== */
.categories-section {
  padding: 15px 0 50px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.category-card {
  background-color: var(--blue-card);
  border: 4px solid var(--orange-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-color: var(--gold-accent);
}

.card-image-wrap {
  width: 100%;
  height: 180px;
  background-color: #0b1736;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid var(--orange-border);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-content {
  padding: 20px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold-accent);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-description {
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ==========================================================================
   FOOTER UFFICIALE
   ========================================================================== */
.site-footer {
  background-color: var(--orange-primary);
  color: #ffffff;
  padding: 45px 0 25px;
  border-top: 5px solid var(--orange-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #ffffff;
}

.footer-address-block {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.7;
}

.footer-address-block p {
  margin-bottom: 6px;
}

.footer-address-block a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav-link:hover {
  padding-left: 6px;
  color: #fff;
  text-decoration: underline;
}

.footer-bottom-strip {
  background-color: var(--orange-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 14px 20px;
  line-height: 1.5;
}

/* ==========================================================================
   PAGINE INTERNE (LAYOUT, TESTI, BREADCRUMB, GALLERIE)
   ========================================================================== */
.page-header-banner {
  background-color: var(--blue-primary);
  color: #ffffff;
  padding: 35px 0;
  text-align: center;
  border-bottom: 4px solid var(--orange-primary);
}

.page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-accent);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.breadcrumb-nav a {
  color: var(--orange-light);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.page-content-section {
  padding: 45px 0 60px;
}

.prose {
  max-width: 960px;
  margin: 0 auto 35px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #334155;
}

.prose p {
  margin-bottom: 18px;
}

.prose h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 28px 0 14px;
}

.prose h3 {
  color: var(--blue-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 22px 0 10px;
}

.fabrics-tag-cloud {
  background-color: #f8fafc;
  border-left: 4px solid var(--orange-primary);
  padding: 20px 24px;
  border-radius: 4px;
  margin: 24px 0 35px;
  font-weight: 600;
  color: var(--blue-primary);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Griglia Galleria Lightbox */
.gallery-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-primary);
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  height: 190px;
  background-color: #e2e8f0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-primary);
}

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

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

.gallery-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(13, 30, 71, 0.75);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

/* ==========================================================================
   PAGINA CONSIGLI UTILI (GUIDA MONTAGGIO TENDE)
   ========================================================================== */
.guide-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid var(--blue-primary);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.guide-step-number {
  background-color: var(--blue-primary);
  color: var(--gold-accent);
  font-size: 1.2rem;
  font-weight: 900;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.guide-body {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
}

.guide-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.guide-images-grid figure {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.guide-images-grid img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background-color: #fff;
  padding: 6px;
}

.guide-images-grid figcaption {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px;
  color: #64748b;
}

/* ==========================================================================
   PAGINA FAQ (ACCORDION INTERATTIVO)
   ========================================================================== */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--orange-primary);
}

.faq-header {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-primary);
  transition: var(--transition);
}

.faq-header:hover {
  background-color: #f8fafc;
  color: var(--orange-primary);
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--orange-primary);
}

.faq-content {
  display: none;
  padding: 0 22px 20px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-image-wrapper {
  margin-top: 14px;
  max-width: 280px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

/* ==========================================================================
   PAGINA CONTATTI
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
}

.contact-card-info {
  background-color: var(--blue-primary);
  color: #ffffff;
  padding: 30px;
  border-radius: var(--radius);
  border-top: 4px solid var(--orange-primary);
  box-shadow: var(--shadow-md);
}

.contact-card-info h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold-accent);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-row-item {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.contact-row-item a {
  color: var(--gold-accent);
}

.contact-row-item a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--blue-primary);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(243, 112, 35, 0.2);
}

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

.map-embed-wrapper {
  margin-top: 35px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #cbd5e1;
  height: 360px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   LIGHTBOX OVERLAY COMPONENTE
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 12, 30, 0.94);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(243, 112, 35, 0.8);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background-color: var(--orange-light);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   MEDIA QUERIES / RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .slider-container {
    height: 320px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--blue-dark);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: flex-start;
    padding: 70px 24px 30px;
    transition: right 0.35s ease;
    z-index: 10000;
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
  }
  
  .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 6px 0 10px 10px;
  }
  
  .red-brand-box {
    font-size: 1.4rem;
    padding: 10px 20px;
  }
  
  .hero-subtitle-primary {
    font-size: 1.05rem;
  }
  
  .hero-subtitle-secondary {
    font-size: 0.95rem;
  }
  
  .info-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card-image-wrap {
    height: 200px;
  }
  
  .lightbox-prev {
    left: 8px;
    width: 38px;
    height: 38px;
  }
  
  .lightbox-next {
    right: 8px;
    width: 38px;
    height: 38px;
  }
}
