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

:root {
  --bg:        #FAFAF8;
  --surface:   #FFFFFF;
  --border:    #E8E3DE;
  --text:      #2C2C2C;
  --muted:     #7A7068;
  --accent:    #C9A96E;
  --accent-dk: #A8854A;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { display: block; width: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }

/* ── Helpers ──────────────────────────────────────────────────── */
.pel-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.pel-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.pel-btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.pel-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pel-btn-solid  { background: var(--accent); color: #fff; }
.pel-btn-solid:hover { background: var(--accent-dk); }
.pel-btn-outline { border: 2px solid var(--accent); color: var(--accent); }

/* ── Header ───────────────────────────────────────────────────── */
.pel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  /* necesario para posicionar el menú móvil */
  isolation: isolate;
}
.pel-header .pel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.pel-brand { font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; }
.pel-brand span { color: var(--accent); }

.pel-nav { display: flex; align-items: center; gap: 2rem; }
.pel-nav a { font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .15s; }
.pel-nav a:hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────────── */
.pel-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 5rem 0;
}
.pel-hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.pel-hero-copy h1 span { color: var(--accent); }
.pel-hero-copy p { color: var(--muted); font-size: 1.05rem; max-width: 440px; margin-bottom: 2rem; }
.pel-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.pel-hero-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 520px;
  background: var(--border);
}
.pel-hero-img img { height: 100%; }
.pel-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.pel-badge-icon {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.pel-badge-text strong { display: block; font-size: .95rem; }
.pel-badge-text span   { font-size: .78rem; color: var(--muted); }

/* ── Placeholder imagen ───────────────────────────────────────── */
.pel-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e3de 25%, #f5f0eb 50%, #e8e3de 75%);
  background-size: 400% 400%;
  animation: pel-shimmer 3s ease infinite;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
}
@keyframes pel-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Sección base ─────────────────────────────────────────────── */
.pel-section { padding: 6rem 0; }
.pel-section-head { text-align: center; margin-bottom: 3.5rem; }
.pel-section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.pel-section-head p  { color: var(--muted); max-width: 520px; margin: .75rem auto 0; }

/* ── Servicios ────────────────────────────────────────────────── */
.pel-services-bg { background: var(--surface); }
.pel-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pel-service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
}
.pel-service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pel-service-icon { font-size: 2rem; margin-bottom: 1rem; }
.pel-service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.pel-service-card p  { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.pel-price-list { list-style: none; border-top: 1px solid var(--border); padding-top: 1rem; }
.pel-price-list li {
  display: flex; justify-content: space-between;
  font-size: .88rem; padding: .35rem 0;
  border-bottom: 1px dashed var(--border);
}
.pel-price-list li:last-child { border-bottom: none; }
.pel-price { font-weight: 700; color: var(--accent); }

/* ── Galería ──────────────────────────────────────────────────── */
.pel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
.pel-gallery-item { border-radius: 8px; overflow: hidden; background: var(--border); }
.pel-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.pel-gallery-item .pel-img-placeholder { height: 100%; }

/* ── Equipo ───────────────────────────────────────────────────── */
.pel-team-bg { background: var(--surface); }
.pel-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pel-team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; text-align: center;
}
.pel-team-photo { height: 220px; background: var(--border); overflow: hidden; }
.pel-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pel-team-info  { padding: 1.25rem; }
.pel-team-info h3 { font-size: 1rem; font-weight: 700; }
.pel-team-info p  { font-size: .85rem; color: var(--muted); margin-top: .25rem; }

/* ── Reseñas ──────────────────────────────────────────────────── */
.pel-reviews-bg { background: var(--surface); }
.pel-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pel-review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pel-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: .75rem; }
.pel-review-card > p { color: var(--muted); font-size: .9rem; font-style: italic; margin-bottom: 1rem; }
.pel-reviewer { display: flex; align-items: center; gap: .75rem; }
.pel-reviewer-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.pel-reviewer-name { font-weight: 600; font-size: .88rem; }
.pel-reviewer-sub  { font-size: .78rem; color: var(--muted); }

/* ── Contacto ─────────────────────────────────────────────────── */
.pel-contact-bg { background: var(--text); color: #fff; }
.pel-contact-bg .pel-eyebrow         { color: var(--accent); }
.pel-contact-bg .pel-section-head h2 { color: #fff; }
.pel-contact-bg .pel-section-head p  { color: rgba(255,255,255,.6); }

.pel-contact-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────── */
.pel-footer { background: var(--text); color: rgba(255,255,255,.7); padding: 3rem 0; }
.pel-footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.pel-footer-brand .pel-brand { color: #fff; margin-bottom: .75rem; }
.pel-footer-brand p { font-size: .88rem; max-width: 280px; }
.pel-footer-col h4 {
  color: #fff; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem;
}
.pel-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.pel-footer-col ul li a { font-size: .88rem; transition: color .15s; }
.pel-footer-col ul li a:hover { color: var(--accent); }
.pel-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; font-size: .82rem;
}

/* ── Hamburguesa ──────────────────────────────────────────────── */
.pel-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.pel-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.pel-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pel-hamburger--open span:nth-child(2) { opacity: 0; }
.pel-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pel-hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0; }
  .pel-hero-img { height: 340px; }
  .pel-services-grid,
  .pel-team-grid,
  .pel-reviews-grid { grid-template-columns: 1fr 1fr; }
  .pel-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pel-gallery-item { height: 180px; }
  .pel-gallery-item:first-child { grid-column: span 2; grid-row: span 1; height: 220px; }
  .pel-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pel-hamburger  { display: flex; }
  .pel-btn-cta    { display: none; }

  .pel-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250,250,248,.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }
  .pel-nav--open  { display: flex; }
  .pel-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .pel-nav a:last-child { border-bottom: none; }

  .pel-services-grid,
  .pel-team-grid,
  .pel-reviews-grid { grid-template-columns: 1fr; }
  .pel-gallery-grid { grid-template-columns: 1fr; }
  .pel-gallery-item,
  .pel-gallery-item:first-child { grid-column: span 1; height: 200px; }
  .pel-footer-inner { grid-template-columns: 1fr; }
  .pel-footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}
