/* CSS Variables for Premium Theme */
:root {
  --midnight-blue: #0f172a;
  --gold: #c5a059;
  --gold-light: #d4b782;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e2e8f0;
  --text-muted: rgba(255, 255, 255, 0.7);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1280px;
  --section-padding: 100px 5%;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--off-white);
  color: var(--midnight-blue);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.headline {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--midnight-blue);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--midnight-blue);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: var(--midnight-blue);
  padding: 15px 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta .btn {
  padding: 12px 24px;
  font-size: 12px;
}

.mobile-toggle {
  display: none;
  color: var(--white);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--midnight-blue);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.4),
    rgba(15, 23, 42, 0.8)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content .logo-icon {
  width: 120px;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section (Nuestra Esencia) */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 15px 15px 0 var(--midnight-blue);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.section-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 13px;
  display: block;
  margin-bottom: 16px;
}

.about h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--midnight-blue);
}

.about p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 30px;
}

.quote {
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  font-style: italic;
  margin: 40px 0;
  color: var(--midnight-blue);
}

.stats {
  justify-content: center;
  display: flex;
  gap: 60px;
}

.stat-item h4 {
  font-size: 36px;
  color: var(--gold);
}

.stat-item p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Services Section (Nuestra Expertise) */
.services {
  padding: var(--section-padding);
  background-color: var(--midnight-blue);
  color: var(--white);
  text-align: center;
}

.services h2 {
  font-size: 42px;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  text-align: left;
  transition: var(--transition);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.7;
}

.service-card:hover img {
  transform: scale(1.1);
  opacity: 0.4;
}

.service-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  z-index: 2;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.learn-more {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Gallery Section (Atm¨®sferas) */
.gallery {
  padding: var(--section-padding);
  background: var(--off-white);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 42px;
}

.gallery-header .btn {
  padding: 14px 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.item-lg {
  grid-column: span 2;
  grid-row: span 2;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-box {
  display: flex;
  background: var(--midnight-blue);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
  padding: 80px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 50px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-item .material-symbols-outlined {
  color: var(--gold);
}

.contact-form {
  flex: 2;
  padding: 80px;
  background: var(--midnight-blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.form-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: var(--white);
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.contact-form .btn {
  margin-top: 40px;
  width: auto;
}

/* Footer */
footer {
  background: var(--midnight-blue);
  color: var(--white);
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 50px;
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--text-muted);
}
::placeholder {
  color: rgb(223, 223, 223);
  opacity: 8;
}

/* Responsive Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--midnight-blue);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-menu-links a {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--white);
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-box {
    flex-direction: column;
  }
  .contact-info,
  .contact-form {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-btns {
    flex-direction: column;
  }

  .about-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .item-lg {
    grid-column: span 1;
    grid-row: span 1;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-info {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-full {
    grid-column: span 1;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }
}


/* ==========================
   FOOTER LIETSA
========================== */

.lietsa-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 70px 0 25px;
}

.lietsa-footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.lietsa-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.lietsa-footer-brand {
  flex: 1;
  min-width: 280px;
}

.lietsa-footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.lietsa-footer-description {
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  max-width: 380px;
}

.lietsa-footer-links,
.lietsa-footer-social {
  min-width: 200px;
}

.lietsa-footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
}

.lietsa-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lietsa-footer-list li {
  margin-bottom: 12px;
}

.lietsa-footer-list a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: all 0.3s ease;
}

.lietsa-footer-list a:hover {
  color: #d4af37;
  padding-left: 5px;
}

.lietsa-footer-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 40px 0 25px;
}

.lietsa-footer-bottom {
  text-align: center;
}

.lietsa-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 768px) {
  .lietsa-footer-logo{
    margin: 0 auto 20px;
  }

  .lietsa-footer-description {
    align-items: center;
    margin: auto;
    max-width: 70%;
  }

  .lietsa-footer-main {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .lietsa-footer-brand,
  .lietsa-footer-links,
  .lietsa-footer-social {
    width: 100%;
  }
}