/* ==========================================================================
   LA RUINA (laruina2026.com) - Theme C: Canva / Warm Terracotta & Cream (Pristine)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
  --bg-dark: #FAF4EC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFBF7;
  --bg-glass: rgba(250, 244, 236, 0.94);
  
  --fox-orange: #D9531E;
  --fox-wine: #3D0C13;
  --fox-wine-light: #6A1B29;
  --fox-cream: #FAF4EC;
  
  --fox-gradient: linear-gradient(135deg, #D9531E 0%, #C04314 100%);
  
  --text-main: #2D090E;
  --text-muted: #5E464A;
  --text-subtle: #8C7377;
  --border-subtle: #E8DACB;
  --border-orange: rgba(217, 83, 30, 0.3);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-card: 0 12px 36px rgba(61, 12, 19, 0.08);
  --shadow-device: 0 25px 60px rgba(61, 12, 19, 0.2);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .hero-title, .section-title {
  font-family: var(--font-sans);
  color: var(--fox-wine);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ambient Warm Glows */
.ambient-glow {
  position: fixed; width: 550px; height: 550px; border-radius: 50%;
  filter: blur(140px); pointer-events: none; z-index: -1; opacity: 0.25;
}
.ambient-glow-1 { top: -150px; left: -100px; background: #E29578; }
.ambient-glow-2 { bottom: 10%; right: -100px; background: #FFDDD2; }

/* Navigation */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: 80px;
  background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle); z-index: 1000;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand-logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.brand-title { font-size: 1.5rem; font-weight: 800; color: var(--fox-wine); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: 0.2s; }
.nav-link:hover { color: var(--fox-orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem; border-radius: 50px; font-size: 0.95rem; font-weight: 700;
  text-decoration: none; transition: all 0.25s ease; border: none; cursor: pointer;
}

.btn-ig {
  background: var(--fox-orange); color: #fff;
  box-shadow: 0 6px 24px rgba(217, 83, 30, 0.3);
}
.btn-ig:hover { transform: translateY(-2px); background: #C04314; box-shadow: 0 10px 30px rgba(217, 83, 30, 0.45); }

.btn-secondary {
  background: #FFF; color: var(--fox-wine); border: 2px solid var(--border-subtle);
}
.btn-secondary:hover { border-color: var(--fox-orange); color: var(--fox-orange); }

/* Coming Soon Badge Sticker */
.btn-with-badge {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
}

.badge-coming-soon {
  display: none !important;
  position: absolute; top: -10px; right: -10px;
  background: var(--fox-wine); color: #FFF;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.28rem 0.7rem; border-radius: 50px;
  border: 2px solid #FFF; box-shadow: 0 4px 14px rgba(61, 12, 19, 0.28);
  pointer-events: none; z-index: 10; white-space: nowrap;
}

.badge-coming-soon-banner {
  display: none !important;
  background: var(--fox-wine); color: #FFF;
  font-size: 0.85rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.4rem 1.1rem; border-radius: 50px;
  margin-left: 0.8rem; vertical-align: middle; box-shadow: 0 4px 14px rgba(61, 12, 19, 0.2);
}


/* Hero */
.hero { padding: 160px 0 100px 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }

.hero-pill-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1.2rem; border-radius: 50px;
  background: #FFF; border: 1px solid var(--border-subtle);
  color: var(--fox-orange); font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(61, 12, 19, 0.04);
}

.hero-title {
  font-size: 3.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.2rem; max-width: 540px;
}

.hero-buttons { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Phone Frame */
.device-frame-wrapper { display: flex; justify-content: center; }
.phone-mockup {
  position: relative; width: 300px; max-width: 100%; border-radius: 46px; padding: 10px;
  background: var(--fox-wine); border: 3px solid #FFF;
  box-shadow: var(--shadow-device); margin: 0 auto;
}

.phone-screen { border-radius: 36px; overflow: hidden; background: #000; aspect-ratio: 9 / 19.5; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section Styling */
.section { padding: 100px 0; }
.identidad-bg-section {
  position: relative;
  background: linear-gradient(180deg, rgba(250, 244, 236, 0.88) 0%, rgba(255, 251, 247, 0.92) 100%),
              url('assets/photo_cellar_barrels.jpg') center/cover no-repeat;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem auto; }
.section-tag { color: var(--fox-orange); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.section-title { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; }
.section-desc { color: var(--text-muted); font-size: 1.15rem; margin-top: 0.8rem; }


/* Decorative Photo Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.gallery-card {
  background: #FFF; border-radius: 20px; padding: 0.8rem;
  border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); transition: 0.3s;
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--fox-orange); }
.gallery-img-wrapper { width: 100%; height: 320px; border-radius: 14px; overflow: hidden; }
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Spotlight Rows */
.spotlight-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 4rem; margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
}

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

.spotlight-text h3 { font-size: 2.2rem; margin-bottom: 1.2rem; color: var(--fox-wine); }
.spotlight-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* Meta Grid */
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.meta-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 2.2rem; transition: 0.3s; display: flex; gap: 1.2rem;
  box-shadow: var(--shadow-card);
}
.meta-card:hover { border-color: var(--fox-orange); transform: translateY(-4px); }
.meta-card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(217, 83, 30, 0.1);
  color: var(--fox-orange); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; flex-shrink: 0;
}

/* Instagram Wall */
.ig-wall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.ig-wall-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-subtle); aspect-ratio: 1 / 1; box-shadow: var(--shadow-card);
}
.ig-wall-card img { width: 100%; height: 100%; object-fit: cover; }
.ig-wall-overlay {
  position: absolute; inset: 0; background: rgba(61, 12, 19, 0.88);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 1.5rem; text-align: center; opacity: 0; transition: 0.3s;
}
.ig-wall-card:hover .ig-wall-overlay { opacity: 1; }

/* Footer */
.footer { border-top: 1px solid var(--border-subtle); padding: 4rem 0 2rem 0; background: var(--bg-surface-elevated); }
.footer-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; gap: 2rem; }
.footer-links-inline { display: flex; gap: 1.8rem; list-style: none; }
.footer-links-inline a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.footer-links-inline a:hover { color: var(--fox-orange); }
.footer-copyright { color: var(--text-subtle); font-size: 0.9rem; }

@media (max-width: 992px) {
  .hero-grid, .spotlight-row, .spotlight-row.reverse { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-buttons { justify-content: center; }
  .nav-links { display: none; }
}

/* ==========================================================================
   Support & FAQ Styling
   ========================================================================== */

.support-search-wrapper {
  max-width: 680px; margin: 2.5rem auto 0 auto; position: relative;
}

.support-search-input {
  width: 100%; padding: 1.2rem 1.8rem; border-radius: 50px;
  background: #FFFFFF; border: 2px solid var(--border-subtle);
  color: var(--fox-wine); font-size: 1.05rem; font-family: var(--font-sans);
  box-shadow: 0 10px 30px rgba(61, 12, 19, 0.06); outline: none; transition: 0.3s;
}

.support-search-input:focus {
  border-color: var(--fox-orange); box-shadow: 0 12px 35px rgba(217, 83, 30, 0.2);
}

.support-card {
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 24px;
  padding: 2.4rem 1.2rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); min-width: 0; width: 100%;
}

.support-card:hover {
  transform: translateY(-5px); border-color: var(--fox-orange);
  box-shadow: 0 20px 45px rgba(61, 12, 19, 0.12);
}

.support-card-icon {
  width: 58px; height: 58px; border-radius: 18px; background: rgba(217, 83, 30, 0.12);
  color: var(--fox-orange); display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.2rem;
}

.support-email-pill {
  display: inline-block; padding: 0.55rem 0.9rem; border-radius: 30px;
  background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle);
  color: var(--fox-orange); font-size: 0.86rem; font-weight: 700;
  text-decoration: none; white-space: nowrap; max-width: 100%; transition: 0.25s;
}

.support-email-pill:hover {
  background: var(--fox-orange); color: #FFF; border-color: var(--fox-orange);
}


/* FAQ Accordions */
.faq-container { max-width: 820px; margin: 0 auto; }

.faq-box {
  background: #FFFFFF; border: 1px solid var(--border-subtle); border-radius: 20px;
  margin-bottom: 1.2rem; box-shadow: var(--shadow-card); overflow: hidden; transition: 0.3s;
}

.faq-box:hover { border-color: var(--fox-orange); }

.faq-btn {
  width: 100%; padding: 1.4rem 1.8rem; background: transparent; border: none;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1.15rem; font-weight: 700; color: var(--fox-wine);
  font-family: var(--font-sans); text-align: left; cursor: pointer; transition: 0.25s;
}

.faq-btn:hover { color: var(--fox-orange); }

.faq-icon-indicator {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-surface-elevated);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: var(--fox-orange); flex-shrink: 0; font-weight: 800; transition: transform 0.3s;
}

.faq-box.active .faq-icon-indicator {
  transform: rotate(180deg); background: var(--fox-orange); color: #FFF;
}

.faq-body {
  padding: 0 1.8rem 1.6rem 1.8rem; color: var(--text-muted); font-size: 1.05rem;
  line-height: 1.65; display: none; border-top: 1px solid rgba(232, 218, 203, 0.4); margin-top: 0.5rem; padding-top: 1.2rem;
}

.faq-box.active .faq-body { display: block; }

/* Contact Form Card */
.form-card {
  max-width: 800px; margin: 0 auto; background: #FFFFFF;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 3.5rem 3rem; box-shadow: var(--shadow-card);
}

.form-label {
  display: block; font-weight: 700; font-size: 0.95rem; color: var(--fox-wine); margin-bottom: 0.6rem;
}

.form-control {
  width: 100%; padding: 1rem 1.2rem; border-radius: 14px;
  background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle);
  color: var(--fox-wine); font-size: 1rem; font-family: var(--font-sans); outline: none; transition: 0.3s;
}

.form-control:focus {
  border-color: var(--fox-orange); background: #FFF; box-shadow: 0 6px 20px rgba(217, 83, 30, 0.15);
}

/* ==========================================================================
   Mobile Optimization (Zero Horizontal Scroll & Perfect Centering)
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .hero { padding: 130px 0 60px 0 !important; }
  .hero-title { font-size: 2.5rem !important; text-align: center !important; }
  .hero-description { text-align: center !important; margin: 0 auto 2rem auto !important; }
  .hero-text { text-align: center !important; display: flex; flex-direction: column; align-items: center; }
  
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 1.2rem !important;
  }
  
  .hero-buttons .btn-with-badge,
  .hero-buttons .btn {
    width: 100% !important;
    max-width: 290px !important;
  }
  
  .section-title { font-size: 2.1rem !important; text-align: center !important; }
  .section-header { text-align: center !important; margin-bottom: 2.5rem !important; }
  .section-tag { text-align: center !important; }
  
  .spotlight-row, .spotlight-row.reverse {
    grid-template-columns: 1fr !important;
    padding: 2.2rem 1.4rem !important;
    text-align: center !important;
    gap: 2rem !important;
  }
  
  .spotlight-text { text-align: center !important; }
  .spotlight-image { width: 100% !important; display: flex !important; justify-content: center !important; }
  
  .phone-mockup {
    max-width: 230px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  
  .meta-grid { grid-template-columns: 1fr !important; }
  
  .meta-card {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    padding: 1.8rem 1.2rem !important;
  }

  .footer-meta-row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .footer-links-inline {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .form-card { padding: 2rem 1.2rem !important; }

  .ambient-glow { display: none !important; }
  .container { padding: 0 1.2rem !important; max-width: 100% !important; overflow-x: hidden !important; }
}


