/* AudioSanctuary Perú - Luxury Acoustic Wellness & Somatic Hearing Care
   Miraflores, Lima | Color Scheme: Deep Ocean (#0B1D3A), Gold (#D4AF37), Sand Warm (#F9F6F0), Pearl White (#FFFFFF)
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --as-ocean: #0B1D3A;
  --as-ocean-dark: #061122;
  --as-ocean-light: #162C52;
  --as-gold: #D4AF37;
  --as-gold-hover: #b89528;
  --as-gold-soft: rgba(212, 175, 55, 0.15);
  --as-sand: #F9F6F0;
  --as-sand-card: #FFFFFF;
  --as-sand-dark: #EDE8DE;
  --as-text-dark: #1F242E;
  --as-text-muted: #647087;
  --as-border: rgba(11, 29, 58, 0.08);
  --as-shadow-sm: 0 4px 14px rgba(11, 29, 58, 0.06);
  --as-shadow-md: 0 10px 30px rgba(11, 29, 58, 0.09);
  --as-shadow-lg: 0 20px 45px rgba(11, 29, 58, 0.14);
  --as-radius-sm: 8px;
  --as-radius-md: 14px;
  --as-radius-lg: 24px;
  --as-font-heading: 'Cinzel', serif;
  --as-font-body: 'Inter', sans-serif;
  --as-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--as-font-body);
  background-color: var(--as-sand);
  color: var(--as-text-dark);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .as-brand-title {
  font-family: var(--as-font-heading);
  letter-spacing: 0.03em;
  color: var(--as-ocean);
  font-weight: 600;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--as-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.as-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.as-topbar {
  background: var(--as-ocean-dark);
  color: #c9d5e8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.as-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.as-topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.as-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.as-topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--as-gold);
}
.as-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.as-lang-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2px 6px;
}
.as-lang-btn {
  background: none;
  border: none;
  color: #adbcd4;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 12px;
  transition: var(--as-transition);
}
.as-lang-btn.active {
  background: var(--as-gold);
  color: var(--as-ocean-dark);
}

.as-navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--as-shadow-sm);
  transition: var(--as-transition);
}
.as-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.as-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.as-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--as-ocean), var(--as-ocean-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--as-gold);
  color: var(--as-gold);
}
.as-brand-text {
  display: flex;
  flex-direction: column;
}
.as-brand-name {
  font-family: var(--as-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--as-ocean);
  line-height: 1.1;
  letter-spacing: 0.05em;
}
.as-brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--as-gold);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.as-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.as-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--as-ocean);
  position: relative;
  padding: 6px 0;
}
.as-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--as-gold);
  transition: var(--as-transition);
}
.as-nav-links a:hover::after,
.as-nav-links a.active::after {
  width: 100%;
}

.as-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.as-cart-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--as-sand);
  border: 1px solid var(--as-border);
  color: var(--as-ocean);
}
.as-cart-badge:hover {
  background: var(--as-ocean);
  color: var(--as-gold);
  border-color: var(--as-ocean);
}
.as-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--as-gold);
  color: var(--as-ocean-dark);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--as-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--as-transition);
  text-transform: uppercase;
}
.as-btn-gold {
  background: linear-gradient(135deg, #E0BE48, #B89224);
  color: var(--as-ocean-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  font-weight: 700;
}
.as-btn-gold:hover {
  background: linear-gradient(135deg, #B89224, #A68019);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}
.as-btn-outline {
  background: transparent;
  border-color: var(--as-gold);
  color: var(--as-gold);
}
.as-btn-outline:hover {
  background: var(--as-gold);
  color: var(--as-ocean-dark);
}
.as-btn-ocean {
  background: var(--as-ocean);
  color: #ffffff;
}
.as-btn-ocean:hover {
  background: var(--as-ocean-light);
  transform: translateY(-2px);
  box-shadow: var(--as-shadow-md);
}

.as-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.as-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--as-ocean);
  margin: 5px 0;
  transition: var(--as-transition);
}

/* Hero Slider */
.as-hero-section {
  position: relative;
  background: var(--as-ocean-dark);
  color: #ffffff;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.as-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.as-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}
.as-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.72) 60%, rgba(11,29,58,0.45) 100%);
}
.as-slide.active {
  opacity: 1;
}
.as-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}
.as-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--as-gold);
  background: rgba(212, 175, 55, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 20px;
}
.as-hero-title {
  color: #ffffff;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.as-hero-desc {
  font-size: 18px;
  color: #d1dcfa;
  margin-bottom: 32px;
  line-height: 1.7;
}
.as-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.as-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.as-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--as-transition);
}
.as-dot.active {
  background: var(--as-gold);
  width: 28px;
  border-radius: 6px;
}

/* Sections */
.as-section {
  padding: 80px 0;
}
.as-section-alt {
  background: #ffffff;
}
.as-section-ocean {
  background: var(--as-ocean);
  color: #ffffff;
}
.as-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.as-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--as-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.as-section-title {
  font-size: 34px;
  margin-bottom: 16px;
}
.as-section-desc {
  color: var(--as-text-muted);
  font-size: 17px;
}

/* Service Cards */
.as-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.as-service-card {
  background: #ffffff;
  border-radius: var(--as-radius-md);
  border: 1px solid var(--as-border);
  box-shadow: var(--as-shadow-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: var(--as-transition);
  position: relative;
  overflow: hidden;
}
.as-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--as-shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}
.as-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--as-ocean), var(--as-gold));
  opacity: 0;
  transition: var(--as-transition);
}
.as-service-card:hover::before {
  opacity: 1;
}
.as-service-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--as-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.as-service-title {
  font-size: 22px;
  margin-bottom: 14px;
}
.as-service-desc {
  color: var(--as-text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.as-service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--as-border);
  padding-top: 18px;
  margin-top: auto;
}
.as-service-price {
  font-family: var(--as-font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--as-ocean);
}
.as-service-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--as-text-muted);
}

/* Specialist Preview */
.as-specialist-box {
  background: #ffffff;
  border-radius: var(--as-radius-lg);
  box-shadow: var(--as-shadow-md);
  border: 1px solid var(--as-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 420px 1fr;
}
.as-specialist-img-wrap {
  position: relative;
  min-height: 460px;
  background: var(--as-ocean);
}
.as-specialist-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.as-specialist-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.as-spec-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--as-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.as-spec-name {
  font-size: 32px;
  margin-bottom: 16px;
}
.as-spec-bio {
  color: var(--as-text-muted);
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;
}
.as-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.as-cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--as-ocean);
}
.as-cred-icon {
  width: 24px;
  height: 24px;
  background: var(--as-gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--as-gold);
  font-weight: 800;
  font-size: 12px;
}

/* Reviews & Testimonials */
.as-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.as-review-card {
  background: var(--as-sand);
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.as-stars {
  color: #F5A623;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.as-review-text {
  font-style: italic;
  color: var(--as-text-dark);
  font-size: 15px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.as-reviewer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  border-top: 1px dashed rgba(11, 29, 58, 0.12);
  padding-top: 12px;
}
.as-reviewer-name {
  font-weight: 700;
  color: var(--as-ocean);
}
.as-reviewer-city {
  color: var(--as-text-muted);
  font-size: 13px;
}

/* Blog Cards */
.as-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.as-blog-card {
  background: #ffffff;
  border-radius: var(--as-radius-md);
  overflow: hidden;
  box-shadow: var(--as-shadow-sm);
  border: 1px solid var(--as-border);
  transition: var(--as-transition);
  display: flex;
  flex-direction: column;
}
.as-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--as-shadow-md);
}
.as-blog-thumb {
  height: 220px;
  overflow: hidden;
}
.as-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.as-blog-card:hover .as-blog-thumb img {
  transform: scale(1.05);
}
.as-blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.as-blog-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--as-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.as-blog-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.as-blog-excerpt {
  font-size: 14px;
  color: var(--as-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Footer */
.as-footer {
  background: var(--as-ocean-dark);
  color: #b5c3da;
  padding-top: 70px;
  padding-bottom: 40px;
  border-top: 3px solid var(--as-gold);
}
.as-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.as-footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.as-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--as-gold);
}
.as-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.as-footer-links a:hover {
  color: var(--as-gold);
  padding-left: 4px;
}
.as-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
}
.as-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
}
.as-footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--as-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.as-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--as-radius-md);
  padding: 24px;
  margin-bottom: 40px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8fa3c7;
}
.as-disclaimer-title {
  color: var(--as-gold);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.as-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modals & Popups */
.as-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 17, 34, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.as-modal.open {
  display: flex;
}
.as-modal-content {
  background: #ffffff;
  border-radius: var(--as-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--as-shadow-lg);
  border: 1px solid var(--as-border);
}
.as-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--as-text-muted);
  cursor: pointer;
}
.as-form-group {
  margin-bottom: 18px;
}
.as-form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--as-ocean);
}
.as-form-input, .as-form-select, .as-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--as-radius-sm);
  border: 1px solid var(--as-border);
  background: var(--as-sand);
  font-family: inherit;
  font-size: 15px;
  transition: var(--as-transition);
}
.as-form-input:focus, .as-form-textarea:focus {
  outline: none;
  border-color: var(--as-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Cookie Banner */
.as-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 540px;
  background: var(--as-ocean-dark);
  color: #ffffff;
  border: 1px solid var(--as-gold);
  border-radius: var(--as-radius-md);
  padding: 20px 24px;
  box-shadow: var(--as-shadow-lg);
  z-index: 1500;
  display: none;
}
.as-cookie-text {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #d1dcfa;
}
.as-cookie-actions {
  display: flex;
  gap: 10px;
}

/* Interactive Quiz / Assessment */
.as-quiz-card {
  background: #ffffff;
  border-radius: var(--as-radius-lg);
  border: 1px solid var(--as-border);
  box-shadow: var(--as-shadow-md);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.as-quiz-step {
  display: none;
}
.as-quiz-step.active {
  display: block;
}
.as-quiz-question {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--as-ocean);
}
.as-options-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}
.as-option-btn {
  background: var(--as-sand);
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-sm);
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
  transition: var(--as-transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.as-option-btn:hover {
  border-color: var(--as-gold);
  background: var(--as-gold-soft);
}
.as-quiz-progress {
  height: 6px;
  background: var(--as-sand-dark);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}
.as-quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--as-ocean), var(--as-gold));
  width: 25%;
  transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .as-specialist-box {
    grid-template-columns: 1fr;
  }
  .as-specialist-img-wrap {
    min-height: 380px;
  }
  .as-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .as-nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--as-shadow-md);
    gap: 16px;
  }
  .as-nav-links.open {
    display: flex;
  }
  .as-menu-toggle {
    display: block;
  }
  .as-hero-title {
    font-size: 32px;
  }
  .as-footer-grid {
    grid-template-columns: 1fr;
  }
}
