/*
Theme Name: abaDRESS
Theme URI: https://abadress.com
Author: abaDRESS
Description: Sitio oficial abaDRESS — software para boutiques de renta de vestidos en México
Version: 3.0
Text Domain: abadress
*/

/* ─── Variables ─── */
:root {
  --blue:        #1E597B;
  --blue-dark:   #163F58;
  --blue-mid:    #2A7AA8;
  --blue-light:  #D6E6F0;
  --slate:       #93A5B9;
  --cream:       #F0ECE1;
  --sand:        #D0CABE;
  --charcoal:    #1C2B36;
  --gray:        #5A6878;
  --gray-light:  #E5E1D6;
  --white:       #FFFFFF;
  --font:        'Barlow', system-ui, sans-serif;
  --font-c:      'Barlow Condensed', var(--font);
  --r-sm: 4px; --r-md: 10px; --r-lg: 18px; --r-xl: 28px;
  --sh:   0 2px 12px rgba(30,89,123,.10), 0 1px 3px rgba(28,43,54,.06);
  --sh-h: 0 8px 28px rgba(30,89,123,.18), 0 2px 8px rgba(28,43,54,.08);
  --max: 1160px; --gap: 88px;
}

/* ─── Reset ─── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1,h2,h3,h4 { font-family: var(--font); line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { max-width: 68ch; }
p + p { margin-top: 1rem; }

/* ─── Layout ─── */
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
section { padding: var(--gap) 0; }
.sh { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.sh p { max-width: none; color: var(--gray); font-size: 1.05rem; margin-top: .8rem; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: .7rem; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .85rem 1.875rem; border-radius: var(--r-md); font-family: var(--font); font-size: .9rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all .2s; white-space: nowrap; text-decoration: none; }
.btn-p  { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-p:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); box-shadow: var(--sh-h); transform: translateY(-1px); }
.btn-o  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-o:hover { background: var(--blue); color: var(--white); }
.btn-lg { padding: 1rem 2.25rem; font-size: .97rem; }
.btn-glass { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); }

/* ─── Header ─── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(30,89,123,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 2rem; }
.site-logo img { height: 40px; width: auto; }
.site-logo-text { font-family: var(--font-c); font-size: 1.7rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: .87rem; font-weight: 600; color: var(--gray); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; }

/* ─── Hero (video) ─── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(15,35,48,.82) 0%, rgba(22,63,88,.65) 45%, rgba(30,89,123,.30) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 100px 0 80px; width: min(620px, 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); color: var(--white); border: 1px solid rgba(255,255,255,.2); padding: .35rem 1rem; border-radius: var(--r-xl); font-size: .75rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: .04em; }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero h1 em { font-style: normal; color: #7EC8E3; }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; max-width: 50ch; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stat strong { display: block; font-family: var(--font-c); font-size: 2.2rem; color: var(--white); font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.72); font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }

/* ─── Trust bar ─── */
.trust-bar { padding: 36px 0; background: var(--blue); }
.trust-bar-inner { display: flex; align-items: center; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.trust-label { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; font-weight: 600; }
.trust-cities { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.trust-city { font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.9); white-space: nowrap; }

/* ─── Compare table ─── */
.compare-table { border-radius: var(--r-lg); border: 1px solid var(--sand); overflow: hidden; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--blue); padding: .6rem 1rem; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .06em; text-transform: uppercase; }
.compare-head span:not(:first-child) { text-align: center; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: .55rem 1rem; border-bottom: 1px solid var(--gray-light); font-size: .84rem; align-items: center; background: var(--white); }
.compare-row:nth-child(even) { background: var(--cream); }
.compare-row:last-child { border: none; }
.compare-row span:not(:first-child) { text-align: center; }
.c-feat { font-weight: 700; }
.c-no  { color: #B03030; font-weight: 600; }
.c-yes { color: #1A6B3A; font-weight: 600; }

/* ─── Features ─── */
.feat-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.feat-c { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg); padding: 1.75rem; transition: all .22s; border-top: 3px solid transparent; }
.feat-c:hover { box-shadow: var(--sh-h); transform: translateY(-3px); border-top-color: var(--blue); }
.feat-ic { width: 46px; height: 46px; background: var(--blue-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.3rem; }
.feat-c h3 { font-size: 1rem; margin-bottom: .55rem; }
.feat-c p  { font-size: .9rem; color: var(--gray); max-width: none; line-height: 1.6; }

/* ─── Steps ─── */
.steps-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem; }
.step { text-align: center; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-c); font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 4px 14px rgba(30,89,123,.3); }
.step h3 { font-size: .97rem; margin-bottom: .4rem; }
.step p  { font-size: .87rem; color: var(--gray); margin: 0 auto; line-height: 1.6; }

/* ─── Testimonials ─── */
.test-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; }
.test-c { background: var(--white); border-radius: var(--r-lg); padding: 1.875rem; border: 1px solid var(--sand); }
.stars  { color: #C59A3B; font-size: .9rem; margin-bottom: .75rem; }
.test-t { font-size: .92rem; font-style: italic; margin-bottom: 1rem; max-width: none; line-height: 1.7; }
.test-a strong { font-size: .87rem; display: block; font-weight: 700; }
.test-a span    { font-size: .76rem; color: var(--gray); }

/* ─── Contact form ─── */
.contact-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: 2.25rem; box-shadow: var(--sh); border: 1px solid var(--sand); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 1.75rem; color: var(--blue); }
.form-group { margin-bottom: 1.1rem; }
.form-group label { font-size: .75rem; font-weight: 700; display: block; margin-bottom: .35rem; color: var(--charcoal); text-transform: uppercase; letter-spacing: .07em; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--sand); border-radius: var(--r-sm); font-family: var(--font); font-size: .92rem; color: var(--charcoal); background: var(--white); transition: border-color .2s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,89,123,.1); }
.form-group textarea { resize: vertical; min-height: 85px; }
.check-label { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; font-weight: 400; text-transform: none; letter-spacing: 0; cursor: pointer; padding: .15rem 0; }
.check-label input[type="checkbox"] { width: auto; margin-top: .2rem; accent-color: var(--blue); flex-shrink: 0; }
.benefit-list { display: flex; flex-direction: column; gap: 1.25rem; }
.benefit { display: flex; gap: .875rem; align-items: flex-start; }
.benefit-ic { width: 40px; height: 40px; background: var(--blue-light); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.benefit strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.benefit span   { font-size: .82rem; color: var(--gray); line-height: 1.5; }
.form-alert { border-radius: var(--r-md); padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; font-size: .88rem; display: none; }
.form-alert.success { background: #E0F2E9; border: 1px solid #1A6B3A; color: #1A6B3A; }
.form-alert.error   { background: #FDE8E8; border: 1px solid #B03030; color: #B03030; }

/* ─── FAQ ─── */
.faq-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: .75rem; }
.faq-i { border: 1px solid var(--sand); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 1.1rem 1.35rem; background: none; border: none; cursor: pointer; font-family: var(--font); font-size: .9rem; font-weight: 700; color: var(--charcoal); display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background .15s; }
.faq-q:hover { background: var(--cream); }
.faq-ic { flex-shrink: 0; font-size: 1.2rem; color: var(--blue); transition: transform .3s; }
.faq-i.open .faq-ic { transform: rotate(45deg); }
.faq-i.open .faq-q  { background: var(--blue-light); }
.faq-a { display: none; padding: 0 1.35rem 1.1rem; font-size: .88rem; color: var(--gray); line-height: 1.7; }
.faq-i.open .faq-a  { display: block; }

/* ─── Cities ─── */
.city-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.city-ch { background: var(--white); border: 1.5px solid var(--sand); border-radius: var(--r-xl); padding: .5rem 1rem; text-align: center; font-size: .83rem; font-weight: 700; color: var(--charcoal); transition: all .18s; cursor: default; }
.city-ch:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ─── CTA ─── */
.cta-s { background: var(--blue); text-align: center; padding: 80px 0; }
.cta-s h2 { color: var(--white); }
.cta-s p  { color: rgba(255,255,255,.85); margin: 1rem auto 2rem; font-size: 1.05rem; max-width: 50ch; }

/* ─── SEO content ─── */
.seo-c { max-width: 820px; }
.seo-c h3 { margin: 2rem 0 .75rem; color: var(--blue); }
.seo-c p  { color: var(--gray); font-size: .96rem; line-height: 1.8; }

/* ─── Footer ─── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.6); padding: 56px 0 28px; }
.footer-g { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.f-brand p { font-size: .85rem; margin-top: .875rem; max-width: 30ch; line-height: 1.6; }
.f-logo-text { font-family: var(--font-c); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.f-col h4  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: .875rem; }
.f-col ul  { list-style: none; }
.f-col li  { margin-bottom: .4rem; }
.f-col a   { font-size: .84rem; color: rgba(255,255,255,.5); transition: color .2s; }
.f-col a:hover { color: var(--blue-light); }
.footer-b  { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .875rem; font-size: .78rem; }
.f-links   { display: flex; gap: 1.25rem; }
.f-links a { color: rgba(255,255,255,.35); font-size: .78rem; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .contact-g { grid-template-columns: 1fr; }
  .hero-content { padding: 90px 0 64px; }
}
@media (max-width: 768px) {
  :root { --gap: 60px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-g  { grid-template-columns: 1fr 1fr; }
  .f-brand   { grid-column: 1/-1; }
  .faq-g     { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-content { padding: 80px 0 56px; }
  .two-col { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .footer-g { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .cta-acts { flex-direction: column; align-items: center; }
}
