:root {
  --bg-main: #f8f1f4;
  --bg-soft: #f5e8ee;
  --text-main: #6f4a4d;
  --text-soft: #8b6a6f;
  --line: #dfbebc;
  --white: #ffffff;
  --pink: #e7a0b1;
  --pink-hover: #dc8ea2;
  --green: #7a916d;
  --green-hover: #697f5d;
  --insta: #dd8ca0;
  --insta-hover: #cf7990;
  --shadow: 0 8px 25px rgba(130, 92, 104, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.4;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 40px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

.logo-wrap {
  position: absolute;
  left: 40px;
  top: 6px;
  z-index: 3;
}

.logo-img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.10));
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  color: #7a5b5b;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: #d77e97;
}

/* HERO */
.hero {
  margin-top: 58px;
  min-height: 420px;
  background-image:
    linear-gradient(
      to right,
      rgba(244, 235, 239, 0.85) 0%,
      rgba(244, 235, 239, 0.60) 35%,
      rgba(244, 235, 239, 0.25) 60%,
      rgba(244, 235, 239, 0) 85%
    ),
    url("img/Invitacion_Boda.png");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 80px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding-top: 30px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #6e4a4a;
  font-weight: 700;
}

.hero p {
  font-size: 1.08rem;
  line-height: 1.5;
  color: #6f5b5b;
  max-width: 440px;
}

/* SECTIONS */
.section {
  padding: 56px 0 36px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 34px;
}

.section-title span {
  display: block;
  width: 86px;
  height: 2px;
  background: var(--line);
}

.section-title h2 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 500;
  color: #7a4347;
  text-align: center;
}

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 26px;
}

.product-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
  text-align: center;
}

.product-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  color: #7a4748;
  margin-bottom: 18px;
  min-height: 62px;
}

.product-card h3 em {
  font-style: italic;
  font-weight: 400;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 16px;
}

.featured-card {
  background: rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: center;
}

.featured-image img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.featured-content {
  text-align: center;
  padding: 10px;
}

.featured-content p {
  font-size: 1.7rem;
  color: #7b4d4f;
  margin-bottom: 22px;
}

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 14px;
  margin-bottom: 30px;
}

.why-item {
  text-align: center;
  padding: 10px 20px;
  position: relative;
}

.why-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 20%;
  width: 1px;
  height: 60%;
  background: #e2cfd2;
}

.icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.icon-circle.beige {
  background: #e3c2a8;
  color: white;
}

.icon-circle.pink {
  background: #ef9cb6;
  color: white;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #7a4748;
}

.why-item p {
  font-size: 1rem;
  color: var(--text-soft);
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 500;
  transition: 0.25s ease;
  box-shadow: 0 6px 16px rgba(110, 80, 90, 0.12);
  text-align: center;
}

.btn i {
  margin-right: 8px;
  font-size: 18px;
}

.btn.small {
  padding: 12px 24px;
  font-size: 1rem;
}

.btn-pink {
  background: linear-gradient(180deg, #efb0bf 0%, #dc94a6 100%);
  color: white;
}

.btn-pink:hover {
  background: linear-gradient(180deg, #e9a4b5 0%, #d7869a 100%);
  transform: translateY(-1px);
}

.btn-green {
  background: linear-gradient(180deg, #87a178 0%, #6f8861 100%);
  color: white;
}

.btn-green:hover {
  background: linear-gradient(180deg, #7b966d 0%, #627954 100%);
}

.btn-instagram {
  background: linear-gradient(180deg, #ea9bb0 0%, #d88399 100%);
  color: white;
}

.btn-instagram:hover {
  background: linear-gradient(180deg, #e18ea5 0%, #cc758d 100%);
}

/* FOOTER */
.footer {
  padding: 28px 0 36px;
  border-top: 1px solid #e1c4ca;
  margin-top: 26px;
}

.footer p {
  text-align: center;
  font-size: 1.1rem;
  color: #8b6468;
}

/* TABLET */
@media (max-width: 1100px) {
  .hero {
    background-position: 78% center;
    padding: 50px 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-card,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-item:not(:last-child)::after {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo-wrap {
    position: static;
  }

  .logo-img {
    height: 78px;
  }

  .main-nav {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
  }

  .hero {
    margin-top: 0;
    min-height: auto;
    padding: 38px 20px;
    background-position: 72% center;
    background-image:
      linear-gradient(
        to right,
        rgba(244, 235, 239, 0.92) 0%,
        rgba(244, 235, 239, 0.72) 45%,
        rgba(244, 235, 239, 0.35) 70%,
        rgba(244, 235, 239, 0.15) 100%
      ),
      url("img/Invitacion_Boda.png");
  }

  .hero-content {
    max-width: 100%;
    padding-top: 0;
    text-align: left;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .section {
    padding: 42px 0 30px;
  }

  .section-title {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-title span {
    width: 38px;
  }

  .section-title h2 {
    font-size: 1.2rem;
  }

  .product-grid,
  .featured-card,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .featured-image img {
    height: auto;
  }

  .featured-content p {
    font-size: 1.25rem;
  }

  .why-item {
    padding: 6px 10px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn,
  .btn.small {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer p {
    font-size: 1rem;
  }
}

/* EXTRA SMALL */
@media (max-width: 480px) {
  .hero {
    padding: 30px 16px;
    background-position: 75% center;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .logo-img {
    height: 68px;
  }

  .section-title h2 {
    font-size: 1.1rem;
  }
}


/*Secciones en construcción*/
.construction-page {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8eef2 0%, #f5e6ee 50%, #f9f1f5 100%);
}

.construction-box {
  background: rgba(255, 255, 255, 0.75);
  padding: 50px 30px;
  border-radius: 24px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(120, 80, 95, 0.10);
}

.construction-logo {
  width: 180px;
  max-width: 70%;
  margin: 0 auto 24px;
  display: block;
}

.construction-box h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #7b4246;
  margin-bottom: 14px;
}

.construction-box p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: #8b6a6f;
  margin-bottom: 24px;
}