/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #FAF7F2;
  --cream-dark:  #F0EBE0;
  --sage:        #8A9E89;
  --sage-light:  #C5D4C4;
  --sage-dark:   #5C7A5B;
  --terracotta:  #C4826A;
  --terracotta-light: #E8C4B5;
  --text:        #2C2416;
  --text-muted:  #7A6E60;
  --text-light:  #A89F93;
  --white:       #FFFFFF;
  --border:      rgba(44,36,22,0.12);
  --shadow:      0 4px 32px rgba(44,36,22,0.08);
  --shadow-lg:   0 16px 64px rgba(44,36,22,0.12);
  --radius:      16px;
  --radius-sm:   8px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:    72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 100%);
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  margin-inline: auto;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 400; }

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title { color: var(--text); margin-bottom: 1rem; }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-inline: auto;
}

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

.section { padding-block: clamp(4rem, 10vw, 7rem); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,122,91,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
  background: rgba(138,158,137,0.06);
}

.btn-full { width: 100%; justify-content: center; }

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
  margin-right: auto;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 0;
}

.lang-toggle:hover {
  border-color: var(--sage-dark);
  box-shadow: 0 2px 8px rgba(92,122,91,0.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(197,212,196,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232,196,181,0.2) 0%, transparent 60%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  animation: fadeInRight 0.9s ease both;
  animation-delay: 0.2s;
}

.hero-img-frame {
  width: clamp(280px, 40vw, 420px);
  aspect-ratio: 3/4;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  overflow: hidden;
  background: var(--cream-dark);
  border: 1px solid var(--border);
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream-dark) 100%);
}

.hero-initials {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--sage-dark);
  opacity: 0.5;
  font-weight: 300;
}

.hero-img-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  max-width: 14ch;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--terracotta);
  line-height: 1;
}

.badge-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 10ch;
  margin-top: 0.25rem;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  margin-inline: auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── SOBRE ─── */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.sobre-visual { position: relative; }

.sobre-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  display: block;
}

.sobre-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.sobre-card-num { font-size: 2rem; margin-bottom: 0.25rem; }
.sobre-card-text { font-size: 0.8rem; color: var(--text-muted); max-width: 16ch; }

.sobre-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.sobre-qualifications {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sobre-qualifications li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sobre-qualifications li::before {
  content: '—';
  color: var(--terracotta);
  flex-shrink: 0;
  font-weight: 500;
}

/* ─── SERVIÇOS ─── */
.servicos { background: var(--cream); }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.servico-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}

.servico-icon { font-size: 1.75rem; margin-bottom: 1rem; }

.servico-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
}

.servico-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── TARIFAS ─── */
.tarifas { background: var(--white); }

.tarifas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tarifa-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.tarifa-card:hover { box-shadow: var(--shadow); }

.tarifa-featured {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: scale(1.04);
}

.tarifa-featured * { color: var(--white) !important; }
.tarifa-featured .btn { background: var(--white); color: var(--sage-dark) !important; }
.tarifa-featured .btn:hover { background: var(--cream); }

.tarifa-badge {
  position: absolute;
  top: -0.75rem;
  background: var(--terracotta);
  color: var(--white) !important;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.tarifa-type {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tarifa-price {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}

.tarifa-price span {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 400;
}

.tarifa-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tarifa-features {
  text-align: left;
  width: 100%;
}

.tarifa-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tarifa-features li::before {
  content: '✓';
  color: var(--sage-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.tarifa-featured .tarifa-features li::before { color: var(--sage-light); }

.tarifas-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  max-width: 640px;
  margin-inline: auto;
}

/* ─── CONTACTO ─── */
.contacto {
  background: var(--cream);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contacto-info p:not(.section-label):not(.section-title) {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-item a, .contact-item p:not(.contact-label) {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--sage-dark); }

/* Form */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

.form-success {
  display: none;
  background: #EFF7EE;
  border: 1px solid #8ABD87;
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: #3A6E38;
  font-size: 0.9rem;
}

.form-success.show { display: block; }

/* ─── FOOTER ─── */
.footer {
  background: var(--text);
  color: var(--cream);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  width: 100%;
  text-align: center;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6) translateY(0); }
  50%       { opacity: 1;   transform: scaleY(1)   translateY(4px); }
}

/* Entry animation for sections */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-image { order: 1; }
  .hero-sub, .hero-ctas { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-img-frame { width: min(280px, 70vw); }
  .hero-badge { bottom: 1rem; left: 50%; transform: translateX(-50%); animation: none; }

  .sobre-grid,
  .contacto-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-card { right: 0; }
  .nav-cta { display: none; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(250,247,242,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
    border-top: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .tarifa-featured { transform: none; }
  .footer-links { gap: 1.25rem; }
}
