/* ========================================
   MAQUINADOS INDUSTRIALES DEL SUR
   Paleta: azul marino + azul claro + fondo claro
   ======================================== */

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

/* ----- TOKENS ----- */
:root {
  /* Light page palette */
  --bg:          #e8f1f8;
  --surface:     #ffffff;
  --surface-2:   #d4e4f0;
  --border:      #b0c5d8;
  --border-sub:  rgba(10, 37, 64, 0.10);
  --text:        #08192b;
  --text-2:      #3b5978;
  --text-3:      #7a8a99;

  /* Accent */
  --accent:      #4a9eff;
  --accent-h:    #2b7de0;
  --accent-dim:  rgba(74, 158, 255, 0.14);

  /* Dark navy (nav, hero, footer) */
  --navy:        #0a2540;
  --navy-2:      #061829;
  --navy-light:  #0f3060;

  --radius:      8px;
  --radius-sm:   4px;
}

/* ----- BASE ----- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
}

/* ----- CONTAINER ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- BUTTON ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1;
}

.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ----- NAV ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  background: var(--navy);
  border-bottom: 1px solid rgba(74, 158, 255, 0.2);
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  background: rgba(6, 24, 41, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(74, 158, 255, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s;
}

.nav-link.nav-cta:hover {
  background: var(--accent-h);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- HERO ----- */
.hero {
  min-height: 100dvh;
  display: flex;
  padding-top: 68px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  min-height: calc(100dvh - 68px);
}

.hero-left {
  display: flex;
  align-items: center;
  padding: 4rem 2rem 4rem max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-content {
  max-width: 580px;
}

.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.75;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-img-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    rgba(10, 37, 64, 0.3) 25%,
    transparent 60%
  );
  z-index: 1;
}

/* ----- SECTION COMMON ----- */
.section-header {
  margin-bottom: 3rem;
}

.section-h {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-p {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.7;
}

/* ----- SERVICES ----- */
.services {
  padding: 6rem 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sc {
  background: var(--surface);
  overflow: hidden;
  transition: background 0.25s;
}

.sc:hover {
  background: var(--bg);
}

.sc-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

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

.sc:hover .sc-img img {
  transform: scale(1.04);
}

.sc-body {
  padding: 1.75rem 2rem;
  position: relative;
}

.sc-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 32px;
  height: 3px;
  background: var(--accent);
}

.sc-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.sc-body p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sc-list li {
  font-size: 0.875rem;
  color: var(--text-3);
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.5;
}

.sc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- ABOUT ----- */
.about {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
  border-bottom: 1px solid var(--border-sub);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ----- CAROUSEL ----- */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  box-shadow: 0 4px 24px rgba(10, 37, 64, 0.12);
}

.car-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.car-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

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

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

.car-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.cdot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.cdot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(6, 24, 41, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}

.car-arrow:hover {
  background: rgba(6, 24, 41, 0.85);
}

.car-prev { left: 12px; }
.car-next { right: 12px; }

/* About text */
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.about-p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-h);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pillar-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.pillar-text span {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ----- GALLERY ----- */
.gallery {
  padding: 6rem 0;
  background: var(--bg);
}

.gf-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gf-btn {
  padding: 0.5rem 1.125rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.gf-btn:hover {
  border-color: var(--accent);
  color: var(--accent-h);
}

.gf-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gi {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
}

.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gi:hover img {
  transform: scale(1.06);
}

.gi-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 24, 41, 0.82);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gi:hover .gi-overlay {
  opacity: 1;
}

.gi-overlay h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', system-ui, sans-serif;
}

.gi-overlay p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ----- CONTACT ----- */
.contact {
  padding: 6rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border-sub);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-h);
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-text strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-text span {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ----- FORM ----- */
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-row .field {
  margin-bottom: 0;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8a99' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.18);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #dc2626;
}

.form-msg {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-msg.success {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #15803d;
}

.form-msg.error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #dc2626;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(74, 158, 255, 0.15);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-logo span {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ----- LIGHTBOX ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 24, 41, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lb-content {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lb-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(74, 158, 255, 0.2);
}

.lb-caption {
  text-align: center;
}

.lb-caption h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.25rem;
  font-family: 'Outfit', system-ui, sans-serif;
}

.lb-caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

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

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
  z-index: 1;
}

.lb-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ----- REVEAL ANIMATION ----- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- REDUCED MOTION ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sc-img img, .gi img { transition: none; }
  .car-slide { transition: none; }
}

/* ----- TABLET (<=1024px) ----- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 60% 40%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ----- MOBILE (<=768px) ----- */
@media (max-width: 768px) {
  .nav { height: 60px; }
  .nav-inner { padding: 0 16px; }
  .nav-logo-text { font-size: 0.7rem; }
  .nav-logo-img { width: 32px; height: 32px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(6, 24, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    width: 100%; text-align: center;
    padding: 1.25rem 0; font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-link.nav-cta {
    background: none; padding: 1.25rem 0;
    border-radius: 0; color: var(--accent); border-bottom: none;
  }
  .nav-toggle { display: flex; }

  .hero { min-height: 100dvh; padding-top: 60px; }
  .hero-inner { grid-template-columns: 1fr; min-height: unset; }
  .hero-left { padding: 2.5rem 16px 2rem; align-items: flex-start; order: 2; }
  .hero-content { max-width: 100%; }
  .hero-right { order: 1; height: 260px; width: 100%; position: relative; }
  .hero-img-scrim {
    background: linear-gradient(to bottom, transparent 0%, var(--navy) 100%);
  }

  .services { padding: 4rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .sc-body { padding: 1.5rem; }

  .about { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-text h2 { text-align: center; }

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

  .contact { padding: 4rem 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }

  .footer { padding: 2.5rem 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 2rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: auto; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-content img { max-height: 60vh; }

  .container { padding: 0 16px; }
}

/* ----- SMALL PHONE (<=480px) ----- */
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-right { height: 210px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
