/* home.css */

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 0 4vw;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--warm-white) 0%, #f0eae6 40%, var(--blush-light) 100%);
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--blush);
  top: -100px; right: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: var(--teal-light);
  bottom: 100px; left: -80px;
  animation: blobFloat 15s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 250px; height: 250px;
  background: var(--rose-light);
  top: 50%; left: 45%;
  animation: blobFloat 10s ease-in-out infinite 3s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(20px,-30px) scale(1.05); }
  66%  { transform: translate(-15px, 20px) scale(0.97); }
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  flex: 1;
  padding: 5rem 0 4rem;
}
.hero-eyebrow { margin-bottom: 1.5rem; display: block; }
.hero-heading {
  animation: heroFadeUp 1s ease 0.2s both;
  font-size: 4rem;
  line-height: 1.1;
}

/* Si quieres que la cursiva también cambie proporcionalmente */
.hero-heading em {
  font-style: italic;
  color: var(--teal-dark);
  font-family: var(--italic);
  font-size: 0.9em; 
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-body {
  margin-top: 1.8rem;
  max-width: 420px;
  animation: heroFadeUp 1s ease 0.45s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: heroFadeUp 1s ease 0.65s both;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  animation: heroFadeUp 1s ease 0.8s both;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--teal-dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  margin-top: 0.3rem;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(44,40,37,0.15);
}

/* Hero visual */
.hero-visual {
  position: relative;
  animation: heroFadeUp 1.1s ease 0.3s both;
}
.hero-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}
.hero-img-inner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-img-inner img {
  width: 100%; height: 540px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 8s ease;
}
.hero-img-inner:hover img { transform: scale(1.03); }
.hero-img-badge {
  position: absolute;
  bottom: -20px; left: -24px;
  background: var(--cream);
  border: 1px solid rgba(136,180,181,0.3);
  border-radius: 8px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mid);
}
.badge-icon { font-size: 1.2rem; color: var(--teal); }
.hero-float-card {
  position: absolute;
  top: 40px; right: -28px;
  background: white;
  border-radius: 10px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.float-card-icon {
  width: 36px; height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}
.float-card-title { font-size: 0.85rem; font-weight: 500; color: var(--charcoal); }
.float-card-sub { font-size: 0.72rem; color: var(--soft); }

/* FAQ scroll link */
.hero-faq-scroll {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-faq-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-faq-link {
  font-size: 0.8rem;
  color: var(--teal-dark);
  letter-spacing: 0.05em;
  transition: transform 0.3s;
}
.hero-faq-scroll:hover .hero-faq-link { transform: translateY(4px); }

/* ─────────────────────────────────────────
   FAQs
───────────────────────────────────────── */
.faqs {
  background: var(--warm-white);
  padding: 6rem 4vw;
}
.faqs-inner {
  max-width: 900px;
  margin: 0 auto;
}
.faqs-header { margin-bottom: 3rem; }
.faqs-header .headline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }
.faq-item {
  border-bottom: 1px solid rgba(44,40,37,0.08);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--teal-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(136,180,181,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform 0.4s ease, background 0.3s;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--teal);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.faq-a p {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--mid);
}

/* ─────────────────────────────────────────
   WHY CHOOSE
───────────────────────────────────────── */
.why {
  padding: 7rem 4vw;
  background: var(--cream);
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.why-left .headline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
.why-card {
  background: var(--warm-white);
  border: 1px solid rgba(136,180,181,0.18);
  border-radius: 8px;
  padding: 2rem 1.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--blush));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card:hover::before { transform: scaleX(1); }
.why-card-icon {
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 1rem;
}
.why-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.7rem;
}
.why-card p { font-size: 0.83rem; color: var(--mid); line-height: 1.7; }

/* ─────────────────────────────────────────
   ABOUT HOME
───────────────────────────────────────── */
.about-home {
  padding: 7rem 4vw;
  background: linear-gradient(135deg, var(--blush-light) 0%, var(--warm-white) 60%);
  position: relative;
  overflow: hidden;
}
.about-home::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(136,180,181,0.1);
  filter: blur(60px);
}
.about-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-home-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.about-home-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 12px;
}
.about-home-img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--teal-light);
  border-radius: 50%;
  opacity: 0.4;
}
.about-home-quote-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(250,247,245,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(136,180,181,0.2);
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  max-width: 280px;
  box-shadow: var(--shadow);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--teal);
  line-height: 0.5;
  margin-bottom: 0.8rem;
}
.about-home-quote-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.quote-author { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.about-home-text .headline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }

/* ─────────────────────────────────────────
   HOW WE WORK
───────────────────────────────────────── */
.how {
  position: relative;
  padding: 7rem 4vw;
  overflow: hidden;
}
.how-bg {
  position: absolute;
  inset: 0;
  background: var(--charcoal);
}
.how-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(136,180,181,0.08) 0%, rgba(224,191,209,0.06) 100%);
}
.how-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.how-header {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--cream);
}
.how-header .headline { color: var(--cream); }
.how-header .headline em { font-style: normal; color: var(--teal-light); font-family: var(--italic); }
.how-header .eyebrow { color: var(--teal-light); }
.how-header .section-tag::before { background: var(--teal-light); }
.how-intro { color: rgba(250,247,245,0.65); max-width: 460px; margin: 1rem auto 0; }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: nowrap;
}
.how-step {
  flex: 1;
  padding: 2rem 1.5rem;
  background: rgba(250,247,245,0.04);
  border: 1px solid rgba(250,247,245,0.08);
  border-radius: 8px;
  transition: var(--transition);
}
.how-step:hover {
  background: rgba(136,180,181,0.12);
  border-color: rgba(136,180,181,0.25);
  transform: translateY(-4px);
}
.how-step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(136,180,181,0.4);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.how-step-content h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.how-step-content p { font-size: 0.8rem; color: rgba(250,247,245,0.55); line-height: 1.7; }
.how-connector {
  width: 2px;
  height: 1px;
  margin-top: 3rem;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   GALLERY
───────────────────────────────────────── */
.gallery {
  padding: 7rem 4vw;
  background: var(--warm-white);
}
.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-header .headline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }
.gallery-sub { color: var(--mid); max-width: 400px; margin: 1rem auto 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,40,37,0.5) 0%, transparent 50%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
}
.gallery-item-wide { grid-column: span 2; }
.gallery-item-tall { grid-row: span 2; }
.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─────────────────────────────────────────
   CONTACT HOME
───────────────────────────────────────── */
.contact-home {
  padding: 7rem 4vw;
  background: var(--cream);
}
.contact-home-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-side .headline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-input {
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(44,40,37,0.15);
  border-radius: var(--radius);
  background: var(--warm-white);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(136,180,181,0.15);
}
.form-input::placeholder { color: rgba(107,95,89,0.45); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* Service areas + map */
.contact-map-side .subheadline em { font-style: italic; color: var(--teal-dark); font-family: var(--italic); }
.service-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.area-pill {
  background: var(--warm-white);
  border: 1px solid rgba(136,180,181,0.35);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  transition: var(--transition);
  cursor: default;
}
.area-pill:hover { background: var(--teal); color: white; border-color: var(--teal); }
.map-container { border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--warm-white);
  border: 1px solid rgba(136,180,181,0.2);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
}
.contact-info-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal-light), var(--blush));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--charcoal);
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.contact-info-val { font-size: 0.82rem; font-weight: 400; color: var(--charcoal); margin-top: 2px; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { flex-wrap: wrap; gap: 1rem; }
  .how-step { flex: 1 1 200px; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .about-home-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-home-inner { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-cards { grid-template-columns: 1fr; }
}
