/* ============================================================
   SARA MARTÍNEZ | COSMETÓLOGA — Global Styles
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --gold: #C4A265;
  --gold-light: #E8D5B5;
  --gold-dark: #A8864D;
  --dark: #1a1a1a;
  --text: #2c2c2c;
  --text-light: #777;
  --bg: #ffffff;
  --bg-soft: #FAFAF8;
  --border: #eee;
}

/* ===== RESET ===== */
.smc-nav *, .smc-hero *, .smc-section *, .smc-footer *, .smc-legal-content *,
.smc-nav *::before, .smc-hero *::before, .smc-section *::before, .smc-footer *::before, .smc-legal-content *::before,
.smc-nav *::after, .smc-hero *::after, .smc-section *::after, .smc-footer *::after, .smc-legal-content *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

/* ===== BASE ===== */
.smc-nav,
.smc-hero,
.smc-section,
.smc-footer,
.smc-legal-content,
.smc-whatsapp {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.smc-nav img, .smc-hero img, .smc-section img, .smc-footer img, .smc-legal-content img {
  max-width: 100%; height: auto; display: block;
}

.smc-nav a, .smc-hero a, .smc-section a, .smc-footer a, .smc-legal-content a {
  text-decoration: none; color: inherit; transition: color 0.3s ease;
}

/* ===== GLOBAL OVERFLOW ===== */
html, body {
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.smc-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(196, 162, 101, 0.1);
}

.smc-nav.smc-nav-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.smc-nav.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 0.8rem 2.5rem;
  box-shadow: 0 1px 0 rgba(196, 162, 101, 0.15) !important;
}

.smc-nav-logo img {
  height: 40px;
  transition: height 0.4s ease;
}

.smc-nav.scrolled .smc-nav-logo img {
  height: 32px;
}

.smc-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.smc-nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}

.smc-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.smc-nav-links a:hover::after { width: 100%; }
.smc-nav-links a:hover { color: var(--gold); }

.smc-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.smc-menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s ease;
  display: block;
}

/* ===== HERO ===== */
.smc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  background: var(--bg);
}

.smc-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196, 162, 101, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.smc-hero-face {
  width: 220px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: smcFadeUp 1s ease 0.2s forwards;
}

.smc-hero-typo {
  width: 340px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: smcFadeUp 1s ease 0.5s forwards;
}

.smc-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: smcFadeUp 1s ease 0.8s forwards;
}

.smc-hero-cta {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  animation: smcFadeUp 1s ease 1.1s forwards;
}

.smc-hero-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 162, 101, 0.3);
  color: #fff;
}

.smc-hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: smcFadeUp 1s ease 1.4s forwards;
}

.smc-hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}

.smc-hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: smcScrollPulse 2s ease infinite;
}

/* ===== DIVIDER ===== */
.smc-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem;
  margin: 0 auto;
  max-width: 400px;
}

.smc-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
}

.smc-divider-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.smc-section {
  padding: 5rem 2rem;
}

.smc-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.smc-section-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.smc-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.02em;
}

/* ===== BOOKING ===== */
.smc-booking { background: var(--bg-soft); }

.smc-booking-container {
  max-width: 900px;
  margin: 0 auto;
}

.smc-booking-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.smc-booking-note strong {
  color: var(--text);
  font-weight: 500;
}

.smc-calendly-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  min-height: 900px;
}

.smc-new-patient {
  margin-top: 2.5rem;
  padding: 2rem;
  border: 1px solid var(--gold-light);
  background: #fff;
  text-align: center;
}

.smc-new-patient-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.smc-new-patient p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.smc-btn-outline {
  display: inline-block;
  padding: 0.7rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.smc-btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* ===== LOCATION ===== */
.smc-location { background: var(--bg); }

.smc-location-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.smc-map-wrapper {
  width: 100%; height: 400px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.smc-map-wrapper iframe {
  width: 100%; height: 100%;
  border: 0;
}

.smc-location-info { padding: 1rem 0; }

.smc-location-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.smc-location-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.smc-location-detail svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.smc-location-detail svg path,
.smc-location-detail svg circle,
.smc-location-detail svg line,
.smc-location-detail svg polyline {
  stroke: inherit;
}

.smc-location-detail p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

.smc-location-detail a { color: var(--gold); }
.smc-location-detail a:hover { color: var(--gold-dark); }

.smc-location-directions { margin-top: 2rem; }

.smc-location-directions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.smc-location-directions a:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.smc-location-directions a svg {
  width: 14px; height: 14px;
  stroke: currentColor;
}

/* ===== CONTACT ===== */
.smc-contact { background: var(--bg-soft); }

.smc-contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.smc-contact-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.smc-contact-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(196, 162, 101, 0.08);
}

.smc-contact-card svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  margin-bottom: 1.2rem;
}

.smc-contact-card svg path,
.smc-contact-card svg circle,
.smc-contact-card svg rect,
.smc-contact-card svg line,
.smc-contact-card svg polyline {
  stroke: inherit;
}

.smc-contact-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.smc-contact-card p,
.smc-contact-card a {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.smc-contact-card a:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.smc-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 4rem 2rem 2rem;
}

.smc-footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.smc-footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smc-footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.smc-footer-logo p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.smc-footer h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.smc-footer-links {
  list-style: none;
}

.smc-footer-links li { margin-bottom: 0.6rem; }

.smc-footer-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
  letter-spacing: 0.03em;
}

.smc-footer-links a:hover { color: var(--gold); }

.smc-footer-cofepris { padding-top: 2.5rem; }

.smc-footer-cofepris h5 {
  font-size: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
  font-weight: 500;
}

.smc-cofepris-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem;
}

.smc-cofepris-item {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.smc-cofepris-item strong {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.smc-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

/* ===== WHATSAPP FLOAT ===== */
.smc-whatsapp {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
}

.smc-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.smc-whatsapp svg {
  width: 28px; height: 28px;
  fill: #fff;
}

/* ===== FORM EMBED ===== */
.smc-form-wrapper {
  margin-top: 2.5rem;
  overflow: hidden;
}

.smc-form-wrapper iframe {
  width: 100%;
  border: 0;
  max-width: 100%;
}

/* ===== LEGAL PAGES ===== */
.smc-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.smc-legal-content .label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.smc-legal-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.smc-legal-content .subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.smc-legal-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 300px;
}

.smc-legal-divider .line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--gold-light), transparent);
}

.smc-legal-divider .diamond {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Legal body text */
.smc-legal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.smc-legal-body h2:first-child { margin-top: 0; }

.smc-legal-body p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.smc-legal-body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: none;
}

.smc-legal-body ul li {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-light);
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
}

.smc-legal-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.smc-legal-body .note {
  background: var(--bg-soft);
  border-left: 3px solid var(--gold-light);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}

.smc-legal-body .note a { color: var(--gold); }
.smc-legal-body .note a:hover { color: var(--gold-dark); }

.smc-legal-body .text-link { color: var(--gold); }
.smc-legal-body .text-link:hover { color: var(--gold-dark); }

/* Service accordion blocks */
.smc-service-block {
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.smc-service-block:hover { border-color: var(--gold-light); }

.smc-service-header {
  padding: 1.2rem 1.5rem;
  background: var(--bg-soft);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.smc-service-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--dark);
}

.smc-service-header .toggle-icon {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.smc-service-header .toggle-icon svg {
  width: 14px; height: 14px;
  stroke: var(--gold);
}

.smc-service-block.open .toggle-icon { transform: rotate(180deg); }

.smc-service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}

.smc-service-block.open .smc-service-body {
  max-height: 600px;
  padding: 1.5rem;
}

.smc-service-body h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.smc-service-body h4:first-child { margin-top: 0; }

.smc-service-body p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Policy cards */
.smc-policy-card {
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.smc-policy-card:hover { border-color: var(--gold-light); }

.smc-policy-card .time {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.smc-policy-card .time.warning { background: #d4a03c; }
.smc-policy-card .time.danger { background: #c47a65; }

.smc-policy-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.smc-policy-card p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes smcFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes smcScrollPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.smc-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.smc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .smc-location-content { grid-template-columns: 1fr; }
  .smc-map-wrapper { height: 300px; }
  .smc-footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .smc-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 998;
  }

  .smc-nav-links.open { display: flex; }

  .smc-nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .smc-menu-toggle {
    display: flex;
    z-index: 999;
  }

  .smc-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  .smc-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .smc-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  .smc-hero-face { width: 160px; }
  .smc-hero-typo { width: 260px; }
  .smc-hero-tagline { font-size: 1rem; }
  .smc-section-title { font-size: 1.8rem; }
  .smc-contact-grid { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
  .smc-cofepris-grid { grid-template-columns: 1fr; }
  .smc-legal-content h1 { font-size: 1.8rem; }
  .smc-legal-content { padding: 4rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .smc-hero-face { width: 130px; }
  .smc-hero-typo { width: 220px; }
  .smc-section { padding: 3.5rem 1.5rem; }
  .smc-new-patient { padding: 1.5rem; }
  .smc-calendly-wrapper { padding: 0.5rem; }
  .smc-calendly-wrapper .calendly-inline-widget { height: 700px !important; }
  .smc-contact-grid { grid-template-columns: 1fr; max-width: 400px; }
  .smc-location-detail { flex-wrap: wrap; }
  .smc-location-info h3 { font-size: 1.3rem; }
  .smc-hero::before { width: 300px; height: 300px; }
  .smc-policy-card { padding: 1.5rem; }
}
