/* ============================================
   Yaquis Glamour — Custom Styles
   ============================================ */

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

:root {
  --plum-50: #faf5ff;
  --plum-100: #f3e8ff;
  --plum-200: #e9d5ff;
  --plum-300: #d8b4fe;
  --plum-400: #c084fc;
  --plum-500: #a855f7;
  --plum-600: #9333ea;
  --plum-700: #7e22ce;
  --plum-800: #5B2C6F;
  --plum-900: #3b0764;
  --plum-950: #1a0530;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #F59E0B;
  --amber-600: #d97706;
  --stone-50: #FAFAF9;
  --stone-100: #F5F5F4;
  --stone-200: #E7E5E4;
  --stone-300: #D6D3D1;
  --stone-400: #A8A29E;
  --stone-500: #78716C;
  --stone-600: #57534E;
  --stone-700: #44403C;
  --stone-800: #292524;
  --stone-900: #1C1917;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(91,44,111,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(91,44,111,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(91,44,111,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(91,44,111,.15), 0 8px 20px rgba(0,0,0,.1);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone-800);
  background: var(--stone-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--plum-800);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum-600);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--stone-900);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--stone-600);
  max-width: 600px;
  line-height: 1.7;
}

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

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  transition: var(--transition);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }

.btn--amber {
  background: var(--amber-500);
  color: var(--stone-900);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn--amber:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--plum-800);
  border-color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--plum-800);
  border: 2px solid var(--plum-200);
}
.btn--outline-light:hover {
  background: var(--plum-50);
  border-color: var(--plum-400);
}

.btn--sm { padding: .5rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: .85rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; padding: .9rem 1.5rem; font-size: 1rem; }

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,249,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,44,111,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--plum-800);
  color: var(--amber-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--plum-900);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  padding: .4rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--stone-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav a:hover { color: var(--plum-700); background: var(--plum-50); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--plum-50); }
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--plum-950);
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/8834074/pexels-photo-8834074.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=1000') center/cover no-repeat;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,5,48,.92) 0%, rgba(91,44,111,.82) 50%, rgba(59,7,100,.75) 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 6rem;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 1.25rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--radius-xl);
  background: rgba(251,191,36,.08);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--amber-400);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--plum-200);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--transition);
}
.stat-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.stat-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
}
.stat-card--1 .stat-icon { background: rgba(251,191,36,.15); }
.stat-card--2 .stat-icon { background: rgba(168,85,247,.2); }
.stat-card--3 .stat-icon { background: rgba(59,130,246,.2); }
.stat-card--2 .stat-icon { color: var(--plum-300); }
.stat-card--3 .stat-icon { color: #60a5fa; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--plum-200);
  margin-top: .25rem;
  line-height: 1.4;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ---- SERVICES ---- */
.services {
  padding: 6rem 0;
  background: var(--stone-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--plum-200);
}
.service-card-img {
  overflow: hidden;
  height: 200px;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-body {
  padding: 1.5rem;
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum-700);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--plum-800);
  border-color: var(--plum-800);
  color: var(--amber-400);
}
.service-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: .5rem;
}
.service-card-body p {
  font-size: .9rem;
  color: var(--stone-600);
  line-height: 1.65;
}

/* ---- ABOUT ---- */
.about {
  padding: 6rem 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-images {
  position: relative;
  min-height: 600px;
}
.about-img-main {
  width: 78%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
  position: absolute;
  top: -20px;
  right: 30%;
  width: 120px;
  height: 120px;
  background: var(--amber-500);
  border-radius: var(--radius-lg);
  opacity: .15;
  z-index: -1;
}
.about-content .section-title { margin-bottom: 1.25rem; }
.about-text {
  font-size: 1rem;
  color: var(--stone-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin-top: 2rem;
}
.value-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--stone-700);
}
.value-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--plum-600);
}

/* ---- GALLERY ---- */
.gallery {
  padding: 6rem 0;
  background: var(--stone-50);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(91,44,111,.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 6rem 0;
  background: var(--plum-800);
}
.testimonials .section-eyebrow { color: var(--amber-400); }
.testimonials .section-title { color: var(--white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.25rem;
}
.testimonial-card p {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--plum-100);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.author-name {
  font-weight: 600;
  color: var(--white);
  font-size: .95rem;
}
.author-detail {
  font-size: .8rem;
  color: var(--plum-300);
}

/* ---- CTA ---- */
.cta {
  padding: 6rem 0;
  background: var(--stone-100);
  background-image: radial-gradient(ellipse at top right, rgba(91,44,111,.06) 0%, transparent 60%);
}
.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-eyebrow { color: var(--plum-600); }
.cta-title { margin-bottom: 1rem; }
.cta-text {
  font-size: 1.05rem;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- CONTACT ---- */
.contact {
  padding: 6rem 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-desc {
  font-size: 1rem;
  color: var(--stone-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; }
.contact-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--plum-700);
}
.contact-label svg { flex-shrink: 0; }
.contact-item dd {
  font-size: .95rem;
  color: var(--stone-700);
  line-height: 1.7;
}
.contact-item a {
  color: var(--stone-700);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--plum-600); }

.contact-form-wrap {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--stone-700);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--stone-800);
  background: var(--white);
  border: 1.5px solid var(--stone-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--plum-500);
  box-shadow: 0 0 0 3px rgba(168,85,247,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-sm);
  color: var(--plum-800);
  font-weight: 500;
  font-size: .9rem;
}
.form-success svg { flex-shrink: 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--stone-900);
  color: var(--stone-400);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--stone-500);
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .9rem;
  color: var(--stone-500);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--amber-400); }
.footer-contact address {
  font-style: normal;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--stone-500);
  margin-bottom: .75rem;
}
.footer-contact a {
  font-size: .9rem;
  color: var(--stone-500);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--amber-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--stone-600);
}

/* ---- SCROLL TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--plum-800);
  color: var(--amber-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 90;
}
.scroll-top:hover { background: var(--plum-700); transform: translateY(-3px); }
.scroll-top:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 340px; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,250,249,.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .main-nav a { padding: .7rem 1rem; }
  .main-nav li:last-child { margin-top: .5rem; }
  .main-nav li:last-child a { text-align: center; }

  .hero-grid { grid-template-columns: 1fr; padding-bottom: 4rem; }
  .hero-cards { flex-direction: row; flex-wrap: wrap; margin-top: 2rem; }
  .stat-card { flex: 1; min-width: 140px; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-images { min-height: 400px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-cards { flex-direction: column; }
  .stat-card { min-width: auto; }
  .about-values { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
