/* ============================================
   VISTA ALEGRE — Hotel Boutique Vigo
   Premium Dark Luxury · Charcoal + Coral
   ============================================ */

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

:root {
  --charcoal-deep: #0d0d0d;
  --charcoal: #141414;
  --charcoal-light: #1e1e1e;
  --charcoal-mid: #2a2a2a;
  --charcoal-soft: #3a3a3a;
  --coral: #e8645c;
  --coral-light: #f0786f;
  --coral-dark: #d4524a;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --cream: #f5f0eb;
  --cream-soft: #e8e0d8;
  --white: #ffffff;
  --text-primary: #f0ebe5;
  --text-secondary: #a89f96;
  --text-muted: #6b635b;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--charcoal-soft) var(--charcoal-deep);
}

body {
  font-family: var(--font-body);
  background-color: var(--charcoal-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.3s var(--ease-smooth);
}

a:hover {
  color: var(--coral-light);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   SIDE NAVIGATION
   ============================================ */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: var(--charcoal);
  border-right: 1px solid var(--charcoal-mid);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.5rem;
  z-index: 1000;
  transition: transform 0.5s var(--ease-out);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-brand-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--coral);
  border-radius: 2px;
  transition: height 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--charcoal-light);
}

.nav-link:hover::before,
.nav-link.active::before {
  height: 60%;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--charcoal-light);
  transition: all 0.3s var(--ease-smooth);
}

.nav-phone:hover {
  color: var(--coral);
  background: var(--charcoal-mid);
}

/* ============================================
   MOBILE TOGGLE
   ============================================ */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1100;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal-mid);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}

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

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: 220px;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.5rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1px;
  background: var(--coral);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coral-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 100, 92, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--charcoal-soft);
}

.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.btn-small {
  padding: 0.65rem 1.5rem;
  font-size: 0.75rem;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 13, 13, 0.95) 0%,
    rgba(13, 13, 13, 0.7) 40%,
    rgba(13, 13, 13, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 0 4rem;
  animation: fadeUp 1s var(--ease-out) 0.3s both;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.hero-scroll svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================
   INTRO
   ============================================ */
.intro {
  background: var(--charcoal-deep);
}

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

.intro-text .section-title {
  margin-bottom: 1.5rem;
}

.intro-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.intro-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 200px;
  height: 200px;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  z-index: -1;
}

/* ============================================
   HABITACIONES
   ============================================ */
.habitaciones {
  background: var(--charcoal);
}

.habitaciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.habitacion-card {
  background: var(--charcoal-light);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--charcoal-mid);
  transition: all 0.5s var(--ease-out);
}

.habitacion-card:hover {
  transform: translateY(-8px);
  border-color: var(--coral);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(232, 100, 92, 0.1);
}

.habitacion-img {
  overflow: hidden;
  height: 240px;
}

.habitacion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.habitacion-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.habitacion-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.habitacion-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.habitacion-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.habitacion-features li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.habitacion-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  background: var(--coral);
  border-radius: 50%;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
  background: var(--charcoal-deep);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servicio-item {
  padding: 2.5rem;
  background: var(--charcoal);
  border-radius: 16px;
  border: 1px solid var(--charcoal-mid);
  transition: all 0.4s var(--ease-out);
}

.servicio-item:hover {
  border-color: rgba(201, 169, 110, 0.3);
  background: var(--charcoal-light);
  transform: translateY(-4px);
}

.servicio-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--gold);
  transition: all 0.3s var(--ease-smooth);
}

.servicio-item:hover .servicio-icon {
  background: var(--coral);
  color: var(--white);
}

.servicio-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.servicio-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
  background: var(--charcoal);
  padding: 6rem 0;
}

.galeria .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 1rem;
}

.galeria-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item--large {
  grid-column: span 5;
  grid-row: span 2;
}

.galeria-item:nth-child(2) {
  grid-column: span 4;
}

.galeria-item:nth-child(3) {
  grid-column: span 3;
}

.galeria-item:nth-child(4) {
  grid-column: span 3;
}

.galeria-item:nth-child(5) {
  grid-column: span 4;
}

/* ============================================
   UBICACIÓN
   ============================================ */
.ubicacion {
  background: var(--charcoal-deep);
}

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

.ubicacion-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.ubicacion-distancias {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ubicacion-distancias li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--charcoal);
  border-radius: 10px;
  border: 1px solid var(--charcoal-mid);
  transition: all 0.3s var(--ease-smooth);
}

.ubicacion-distancias li:hover {
  border-color: var(--coral);
  background: var(--charcoal-light);
}

.distancia-label {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.distancia-value {
  font-size: 0.8rem;
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.map-placeholder {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-mid);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  color: var(--text-secondary);
  min-height: 320px;
  justify-content: center;
}

.map-placeholder svg {
  color: var(--coral);
}

.map-placeholder p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 100, 92, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-content {
  max-width: 640px;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
  background: var(--charcoal);
}

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

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contacto-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-light);
  border: 1px solid var(--charcoal-mid);
  border-radius: 10px;
  color: var(--coral);
  flex-shrink: 0;
}

.contacto-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contacto-value {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.contacto-link {
  color: var(--coral);
}

.contacto-link:hover {
  color: var(--coral-light);
}

.contacto-form {
  background: var(--charcoal-light);
  border: 1px solid var(--charcoal-mid);
  border-radius: 16px;
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-mid);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.3s var(--ease-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.form-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

.form-notice a {
  color: var(--coral);
  font-weight: 500;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1rem;
  animation: fadeUp 0.5s var(--ease-out);
}

.form-success svg {
  color: var(--coral);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal-deep);
  border-top: 1px solid var(--charcoal-mid);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.3s var(--ease-smooth);
}

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

.footer-phone {
  font-size: 1rem;
  color: var(--coral);
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-mid);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .side-nav {
    transform: translateX(-100%);
  }

  .side-nav.open {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-overlay.open {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .hero-content {
    padding: 0 2rem;
  }

  .hero-scroll {
    left: 2rem;
  }

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

  .galeria-grid {
    grid-template-rows: repeat(3, 180px);
  }

  .galeria-item--large {
    grid-column: span 12;
    grid-row: span 1;
  }

  .galeria-item:nth-child(2) {
    grid-column: span 6;
  }

  .galeria-item:nth-child(3) {
    grid-column: span 6;
  }

  .galeria-item:nth-child(4) {
    grid-column: span 6;
  }

  .galeria-item:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .intro-grid,
  .ubicacion-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-image {
    order: -1;
  }

  .intro-image img {
    height: 300px;
  }

  .intro-image-accent {
    display: none;
  }

  .habitaciones-grid,
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .galeria-item,
  .galeria-item--large,
  .galeria-item:nth-child(2),
  .galeria-item:nth-child(3),
  .galeria-item:nth-child(4),
  .galeria-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .galeria-item {
    height: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contacto-form {
    padding: 1.5rem;
  }
}
