:root {
  --primary: #0e2d5b;
  --secondary: #b71c24;
  --accent: #f4f4f4;
  --text: #222;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 2rem;
}

.main-nav a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.gallery-video {
  aspect-ratio: 16 / 9;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  max-width: 320px;
}

.logo {
  width: 100%;
  max-width: 300px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

  .lang-switch {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .lang-switch:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(14, 45, 91, 0.16);
  }

  .lang-en .lang-es,
  .lang-es .lang-en {
    display: none;
  }

  .hero-copy {
    max-width: 640px;
  }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.05;
}

.hero p {
  margin-bottom: 1.5rem;
  max-width: 520px;
  color: #414141;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 45, 91, 0.12);
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-box {
  width: 100%;
  max-width: 420px;
  background: var(--primary);
  color: #fff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 55px rgba(14, 45, 91, 0.16);
}

.hero-box h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.hero-box p {
  margin-bottom: 1rem;
  color: #e9eef4;
}

.contact-quick a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.services-section,
.about-section,
.gallery-section,
.contact-section {
  padding: 4rem 2rem;
  scroll-margin-top: 160px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header span {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: #555;
}

.gallery-section {
  background: #f8fafc;
}

.gallery-grid {
  display: grid;
  gap: 3rem;
}

.gallery-category h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-video-card {
  display: grid;
  gap: 0.75rem;
}

.gallery-video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
}

.gallery-video-caption {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
}

.video-download {
  display: inline-block;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.25rem;
}

.video-download:hover {
  color: var(--secondary);
}

.gallery-images img:hover,
.gallery-video:hover {
  transform: scale(1.05);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-content ul {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.about-content li {
  padding-left: 1rem;
  position: relative;
  color: #444;
}

.about-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.about-image {
  min-height: 320px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(183,28,36,0.95) 0%, rgba(14,45,91,0.95) 100%);
  background-image: url('photo_5105213443786083414_y.jpg');
  background-size: cover;
  background-position: center;
}

.contact-section {
  background: #f8fafc;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(14, 45, 91, 0.08);
}

.contact-card h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-card p,
.contact-card a {
  margin-bottom: 1rem;
  color: #444;
  display: block;
}

.contact-card a {
  text-decoration: none;
}

.site-footer {
  text-align: center;
  padding: 1.5rem 2rem;
  background: #fff;
  border-top: 1px solid #ececec;
  color: #6b7280;
}

/* Header Contact */
.header-contact {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-phone,
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-phone:hover,
.contact-email:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 45, 91, 0.18);
}

/* Carousel Styles */
.carousel {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item {
  min-height: 400px;
  background: #000;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(14, 45, 91, 0.85);
  padding: 1.5rem;
  border-radius: 0;
  bottom: 0;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1rem;
  margin: 0;
  color: #e9eef4;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  background: rgba(14, 45, 91, 0.5);
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(14, 45, 91, 0.8);
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 0.5rem;
  transition: background 0.3s ease;
}

.carousel-indicators li.active {
  background: var(--primary);
  width: 16px;
  height: 16px;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-item {
    min-height: 300px;
  }

  .carousel-caption h5 {
    font-size: 1.25rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-contact {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
  }

  .contact-phone,
  .contact-email {
    flex: 1;
    min-width: 150px;
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-box {
    padding: 1.75rem;
  }

  .carousel-item {
    min-height: 250px;
  }

  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.85rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
  }

  .carousel-control-prev {
    left: 8px;
  }

  .carousel-control-next {
    right: 8px;
  }
}
