/* ============================================================
   LA SEVILLANA BANQUETES — Modern Site Styles
   ============================================================ */

:root {
  --gold:       #bf841d;
  --gold-light: #d4a535;
  --gold-dark:  #8b6010;
  --dark:       #1a1208;
  --dark-mid:   #2e2210;
  --text:       #2e2210;
  --text-light: #6b5a3a;
  --cream:      #f9f5ef;
  --cream-dark: #eee5d4;
  --white:      #ffffff;
  --radius:     8px;
  --shadow:     0 4px 24px rgba(30,18,8,.12);
  --shadow-lg:  0 12px 48px rgba(30,18,8,.18);
  --transition: .3s ease;
  --nav-h:      76px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
}

em { font-style: italic; }

.section-pretitle {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  font-family: 'Raleway', sans-serif;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 2px;
  font-family: 'Raleway', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191,132,29,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

/* ── NAV ── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.nav-header.scrolled {
  background: rgba(249,245,239,.97);
  box-shadow: 0 2px 20px rgba(30,18,8,.1);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo img {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.nav-header.scrolled .nav-logo img { filter: none; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: .05em;
}
.nav-header.scrolled .nav-logo-text { color: var(--dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-links a:hover::after { right: 0; }
.nav-header.scrolled .nav-links a { color: var(--text); }
.nav-header.scrolled .nav-links a:hover { color: var(--gold); }

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: .5rem 1.4rem;
  border-radius: 2px;
  letter-spacing: .08em;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--gold-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--transition);
}
.nav-header.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,18,8,.82) 0%, rgba(30,22,10,.6) 50%, rgba(191,132,29,.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 800px;
}

.hero-pretitle {
  font-family: 'Raleway', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(249,245,239,.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero-scroll svg { width: 28px; height: 28px; }

/* ── ABOUT ── */
.about { padding: 7rem 0; }

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

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}
.about-text .btn { margin-top: .5rem; }

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.about-img-main {
  grid-row: 1 / 3;
}
.about-img-main img,
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-img-main img { min-height: 400px; }
.about-img-secondary img { min-height: 200px; }

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--gold);
  color: var(--white);
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 110px;
}
.about-badge-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
  display: block;
}

/* ── PILLARS ── */
.pillars {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.pillars-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.pillars-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,18,8,.93) 0%, rgba(46,34,16,.9) 100%);
}
.pillars .container { position: relative; z-index: 2; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.pillar-item {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(191,132,29,.2);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.pillar-item:hover {
  border-color: var(--gold);
  background: rgba(191,132,29,.06);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 72px;
  height: 72px;
  background: rgba(191,132,29,.15);
  border: 1px solid rgba(191,132,29,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold-light);
  transition: background var(--transition);
}
.pillar-item:hover .pillar-icon { background: rgba(191,132,29,.25); }

.pillar-item h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .6rem;
}
.pillar-item p {
  font-size: .9rem;
  color: rgba(249,245,239,.65);
  line-height: 1.6;
}

/* ── GALLERY ── */
.gallery { padding: 6rem 0 0; }

.gallery-mosaic {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 240px);
  gap: .5rem;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.mosaic-item.large { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(5) { grid-column: 3 / 5; grid-row: 2; }

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.mosaic-item:hover img { transform: scale(1.07); }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,18,8,0);
  transition: background var(--transition);
}
.mosaic-item:hover .mosaic-overlay { background: rgba(191,132,29,.15); }

.gallery-cta {
  text-align: center;
  padding: 4rem 0 6rem;
}
.gallery-cta p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ── CONTACT ── */
.contact { padding: 6rem 0; background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card.whatsapp-card { background: #f0fbf4; }

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(191,132,29,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--gold);
}
.contact-card.whatsapp-card .contact-card-icon {
  background: rgba(37,211,102,.1);
  color: #25D366;
}

.contact-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: .4rem;
}
.contact-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.contact-card a:hover { color: var(--gold); }
.contact-card.whatsapp-card a:hover { color: #25D366; }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

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

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(191,132,29,.2);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }

.form-note {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  margin-top: .5rem;
}
.form-note a { color: var(--gold); font-weight: 700; }
.form-note a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(249,245,239,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(191,132,29,.15);
}

.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link.whatsapp { background: rgba(37,211,102,.15); color: #25D366; }
.social-link.whatsapp:hover { background: #25D366; color: var(--white); }
.social-link.email { background: rgba(191,132,29,.15); color: var(--gold-light); }
.social-link.email:hover { background: var(--gold); color: var(--white); }

.footer-links h4, .footer-contact h4 {
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-contact p { font-size: .9rem; margin-bottom: .6rem; line-height: 1.5; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-sister-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold) !important;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: .8rem;
  color: rgba(249,245,239,.35);
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 900;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  .mosaic-item.large { grid-column: span 1; grid-row: span 1; }
  .mosaic-item:nth-child(5) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(249,245,239,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(30,18,8,.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; font-size: 1rem; }

  .pillars-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

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

  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .gallery-mosaic { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .about-images { display: block; }
  .about-img-secondary { display: none; }
}
