/* styles.css */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2d2432;
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
}

/* Paleta inspirada en el logo dorado */
:root {
  --color-primary: #d6a031;
  --color-primary-dark: #b07f20;
  --color-primary-soft: #fff5dd;
  --color-muted-bg: #f7f5fa;
  --color-border: #e4dde9;
  --color-text-muted: #7a6f81;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.07);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
 /* background-color: var(--color-muted-bg); */
    background-color: var(--color-primary-soft);
    border-top: 1px solid #f1dfaa;
    border-bottom: 1px solid #f1dfaa;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #fffffff2;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #f0e9f4;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: #2d2432;
  padding: 0.25rem 0;
  font-weight: 400;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 0.45rem 1.2rem!important;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-primary);
  color: #ffffff !important;
  background: linear-gradient(135deg, #f8d47c, #d6a031);
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 4rem 0 3.8rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.hero-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.hero-benefits {
  list-style: none;
  margin-bottom: 1.6rem;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.hero-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle at 20% 0, #f8d47c, #d6a031);
}

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

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

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #eee2f1;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: -14px;
  left: 18px;
  background-color: #ffffff;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #efe4f0;
  font-size: 0.78rem;
}

.hero-badge p {
  font-weight: 600;
}

.hero-badge span {
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #f8d47c, #d6a031);
  color: #4b3c20;
  border-color: #f2cc6f;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f2cc6f, #b98221);
  border-color: #e0b95a;
}

.btn-large {
  padding: 1rem 2.3rem;
}

/* Grids & cards */
.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.card p {
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

/* Centro */
.center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.center-text p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  margin-bottom: 0.9rem;
}

.center-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.center-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ece3f1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.center-photo.large {
  grid-column: 1 / -1;
}

.center-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Services */
.card-service {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.card-service .card-image img {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
}

.card-service .card-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.card-service p {
  margin-bottom: 0.9rem;
}

.card-service ul {
  list-style: none;
}

.card-service li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.card-service li::before {
  content: "›";
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

/* Process */
.process-steps {
  list-style: none;
  max-width: 760px;
}

.process-step {
  display: flex;
  gap: 1.3rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e6dde9;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #e1d5ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background-color: #fff;
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Opiniones / confianza */
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  font-size: 0.9rem;
}

.testimonial-author {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-item {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: #fff;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Closing CTA / Contact */
.closing-cta {
  /* background-color: var(--color-primary-soft);
  border-top: 1px solid #f1dfaa;
  border-bottom: 1px solid #f1dfaa; */
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 2.3rem;
  align-items: center;
}

.closing-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.closing-text p {
  color: #4e4331;
  margin-bottom: 1.4rem;
  max-width: 520px;
  font-size: 0.96rem;
}

.closing-microcopy {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
}

.closing-aside {
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background-color: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0deaa;
  font-size: 0.92rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.contact-card p {
  margin-bottom: 0.35rem;
}

.contact-card a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* Footer */
.site-footer {
  /* border-top: 1px solid #f0e9f4;
  background-color: #fff; */
  padding: 1.6rem 0 2rem;
	background-color: var(--color-primary-soft);
    border-top: 1px solid #f1dfaa;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.footer-meta {
  margin-top: 0.3rem;
}

/* Responsive */
@media (max-width: 992px) {
  .section {
	    scroll-margin-top: 90px;
   }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-layout,
  .closing-inner,
  .center-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing-aside {
    justify-content: flex-start;
    margin-top: 1.2rem;
  }

  .center-photos {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .main-nav {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.7rem;
    justify-content: space-between;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.86rem;
	padding-top: 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    padding-left: 4px;
    padding-right: 4px;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero h1 {
    font-size: 2.05rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3.6rem 0;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    position: static;
    margin-top: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .center-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}
