/* =============================================
   mnetuar — Stavebné práce Nové Zámky
   Style Sheet
   ============================================= */

/* --- CSS Variables (overridden by content.json theme) --- */
:root {
  --primary: #D4792C;
  --secondary: #2B3A42;
  --accent: #E8A54B;
  --dark: #1A2228;
  --light: #F5F0EB;
  --text: #2B3A42;
  --text-light: #7A8B95;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bitter', serif;
  line-height: 1.25;
  font-weight: 700;
}

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

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

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

/* --- Focus Styles --- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 8px;
  color: #fff;
}

/* --- Page Loader --- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,121,44,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* --- Section Shared --- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* =============================================
   NAVIGATION
   ============================================= */
nav#nav_1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

nav#nav_1.scrolled {
  background: rgba(26, 34, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.logo:hover {
  color: var(--primary) !important;
}

#nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

#nav-links a {
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
}

#nav-links a:hover,
#nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,34,40,0.88) 0%, rgba(26,34,40,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  background: #fff;
  overflow: hidden;
  position: relative;
  /* Dot grid pattern */
  background-image: radial-gradient(circle, rgba(212,121,44,0.18) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
}

/* Fade the dot grid with a white overlay in the center so content stays readable */
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.7) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Large decorative circle top-right */
#about::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px solid rgba(212,121,44,0.12);
  pointer-events: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--light);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}

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

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}

.feature-card .feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* =============================================
   SERVICES
   ============================================= */
#services {
  background: var(--light);
  overflow: hidden;
  position: relative;
  /* Diagonal stripe pattern */
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 40px,
      rgba(212,121,44,0.05) 40px,
      rgba(212,121,44,0.05) 41px
    );
}

/* Solid colour wedge slicing off top-left corner */
#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(212,121,44,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(43,58,66,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Angled top edge — clip-path wave shape */
#services::after {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

#services .section-header {
  position: relative;
  z-index: 2;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body {
  padding: 28px 24px;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,121,44,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   GALLERY
   ============================================= */
#gallery {
  background: var(--dark);
  overflow: hidden;
  position: relative;
  /* Fine cross-hatch grid */
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Wave SVG top divider */
#gallery::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 70px;
  background: var(--light);
  clip-path: ellipse(55% 100% at 50% 0%);
  pointer-events: none;
  z-index: 0;
}

/* Glowing orb bottom-left */
#gallery::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,121,44,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Override text colours for dark bg */
#gallery .section-header h2 { color: #fff; }
#gallery .section-header p  { color: rgba(255,255,255,0.65); }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

#gallery .section-header {
  position: relative;
  z-index: 2;
}

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

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

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,34,40,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-card-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* =============================================
   CTA BANNER
   ============================================= */
#cta {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,34,40,0.90) 0%, rgba(43,58,66,0.82) 100%);
  z-index: 1;
}

/* Diagonal bright band across CTA */
#cta .cta-band {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

#cta .cta-band::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 55%; height: 140%;
  background: linear-gradient(135deg, rgba(212,121,44,0.18) 0%, transparent 60%);
  transform: skewX(-12deg);
}

#cta .cta-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  animation: ctaLine 4s ease-in-out infinite alternate;
}

@keyframes ctaLine {
  0%   { opacity: 0.6; transform: scaleX(0.7); }
  100% { opacity: 1;   transform: scaleX(1); }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.cta-phone {
  font-family: 'Bitter', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FAQ
   ============================================= */
#faq {
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* Zigzag top border */
#faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background:
    linear-gradient(135deg, var(--light) 25%, transparent 25%) -24px 0,
    linear-gradient(225deg, var(--light) 25%, transparent 25%) -24px 0,
    linear-gradient(315deg, var(--light) 25%, transparent 25%),
    linear-gradient( 45deg, var(--light) 25%, transparent 25%);
  background-size: 48px 24px;
  background-color: transparent;
  pointer-events: none;
  z-index: 0;
}

/* Large half-circle decorative shape right side */
#faq::after {
  content: '';
  position: absolute;
  right: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,121,44,0.09) 0%, rgba(212,121,44,0.03) 50%, transparent 70%);
  border: 32px solid rgba(212,121,44,0.07);
  pointer-events: none;
  z-index: 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#faq .section-header {
  position: relative;
  z-index: 2;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Bitter', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-question .faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-question .faq-icon {
  background: var(--primary);
}

.faq-item.active .faq-question .faq-icon svg {
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* =============================================
   CONTACT
   ============================================= */
#contact {
  background: var(--dark);
  overflow: hidden;
  position: relative;
  /* Fine dot grid on dark bg */
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Warm gradient wash */
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(212,121,44,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(43,58,66,0.8) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Wave top divider from FAQ (white) */
#contact::after {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
  pointer-events: none;
  z-index: 0;
}

/* Text overrides for dark bg */
#contact .section-header h2 { color: #fff; }
#contact .section-header p  { color: rgba(255,255,255,0.65); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}

#contact .section-header {
  position: relative;
  z-index: 2;
}

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.contact-form-wrap h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212,121,44,0.25);
  outline: none;
}

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

.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.consent-label a {
  text-decoration: underline;
}

.form-success,
.form-error {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
}

.form-success {
  background: rgba(34,197,94,0.1);
  color: #16a34a;
}

.form-error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

/* =============================================
   PRIVACY
   ============================================= */
.privacy-section {
  background: #fff;
  padding: 60px 0;
}

.privacy-section h2 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.privacy-content {
  color: var(--text-light);
  line-height: 1.8;
  max-width: 800px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #080D10;
  color: rgba(255,255,255,0.6);
  padding: 0;
  border-top: 3px solid var(--primary);
  position: relative;
}

.footer-inner {
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-contact h4,
.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

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

.footer-links ul a:hover {
  color: var(--primary);
}

.footer-services h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-services ul li {
  margin-bottom: 8px;
}

.footer-services ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-services ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-credit {
  margin-top: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--primary);
}

/* =============================================
   GALLERY LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox[hidden] { display: none; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-counter {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* Animate in */
.lightbox-container {
  animation: lbIn 0.25s ease;
}

@keyframes lbIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* WhatsApp button icon */
.btn-wa-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-wa-icon svg {
  flex-shrink: 0;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--dark);
  color: #fff;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cookie-content h3 {
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  margin: 0;
}

.cookie-content p {
  flex: 1;
  font-size: 14px;
  margin: 0;
  opacity: 0.85;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn-accept {
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition);
}

.cookie-btn-accept:hover {
  background: var(--accent);
}

.cookie-btn-decline {
  padding: 10px 24px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  background: transparent;
  color: #fff;
  font-size: 14px;
  transition: all var(--transition);
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-link {
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-decoration: underline;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all var(--transition);
}

.scroll-top-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
}

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

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

/* --- Tablet portrait --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -8px 0 24px rgba(0,0,0,0.3);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: none;
  }

  #nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  #nav-links li {
    width: 100%;
  }

  #nav-links a {
    display: block;
    padding: 14px 16px;
    font-size: 1.05rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: var(--radius-sm);
    pointer-events: auto;
    cursor: pointer;
  }

  .nav-cta {
    display: none;
  }

  /* Overlay sits BELOW nav (z-index 999) so hamburger in nav stays clickable */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    pointer-events: none;
  }

  .nav-overlay.active {
    display: block;
    pointer-events: auto;
  }

  section {
    padding: 70px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .about-image-wrap img {
    height: 280px;
  }

  .cta-phone {
    font-size: 1.5rem;
  }

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

  .faq-question {
    font-size: 1rem;
    padding: 20px 0;
  }
}

/* --- Large phones --- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .service-card-body {
    padding: 20px 16px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  #cta {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-phone {
    font-size: 1.25rem;
  }
}

/* --- Small phones ≤ 480px --- */
@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .nav-container {
    height: 60px;
    padding: 0 16px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .feature-card {
    padding: 24px 16px;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .contact-item {
    padding: 12px 0;
    gap: 12px;
  }

  .contact-item a,
  .contact-item span {
    word-break: break-all;
  }

  .footer-brand h3 {
    font-size: 1.25rem;
  }

  .footer-brand p {
    font-size: 0.85rem;
  }

  .scroll-top-btn {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* --- Very small screens < 350px --- */
@media (max-width: 350px) {
  .container {
    padding: 0 12px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .hero-actions .btn {
    max-width: 100%;
    font-size: 0.85rem;
    padding: 12px 16px;
  }

  .nav-container {
    height: 56px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .cta-content h2 {
    font-size: 1.25rem;
  }

  .cta-phone {
    font-size: 1.1rem;
  }

  .contact-form-wrap {
    padding: 20px 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
    font-size: 0.9rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 16px 0;
  }

  .faq-answer-inner {
    font-size: 0.9rem;
  }
}

/* --- Reduced Motion --- */
@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;
  }
}

/* --- Print --- */
@media print {
  nav, footer, .cookie-banner, .scroll-top-btn, #page-loader {
    display: none !important;
  }
  section { break-inside: avoid; }
  * { color: #000 !important; background: #fff !important; }
}
