:root {
  --ink: #2a3037;
  --gray: #545d67;
  --muted: #6b737c;
  --pink: #d81863;
  --pink-dark: #b5124f;
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --line: #e4e2de;
  --radius: 10px;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

a { color: var(--pink); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Botones */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 2px solid var(--pink);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--gray); }
.btn-ghost:hover { background: var(--gray); border-color: var(--gray); color: #fff; }
.btn-small { padding: .5em 1.2em; }

/* Etiqueta con rombo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1rem;
}
.eyebrow-light { color: #c9ced3; }
.diamond { width: 9px; height: 9px; background: var(--pink); transform: rotate(45deg); display: inline-block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--pink); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 8rem) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(216, 24, 99, .07), transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.hero-inner { max-width: 820px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Secciones */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.5rem; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center; }
.about-year { border-left: 4px solid var(--pink); padding-left: 1.5rem; }
.year { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 9vw, 6rem); line-height: 1; color: var(--gray); }
.year-caption { display: block; margin-top: .6rem; color: var(--muted); font-weight: 500; }
.about-text p { color: #3d444c; }

/* Servicios */
.service-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-group {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gray);
  border-radius: var(--radius);
  padding: 2rem;
}
.service-group h3 { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-list svg {
  flex: none; width: 40px; height: 40px; padding: 9px;
  border-radius: 8px; background: #fbe8ef;
  fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.service-list strong { display: block; font-weight: 600; }
.service-list span { display: block; color: var(--muted); font-size: .95rem; }

/* Contacto */
.contact { background: var(--gray); color: #e8eaec; }
.contact h2 { color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  color: #fff; text-decoration: none; font-weight: 500;
  overflow-wrap: anywhere;
  transition: background .2s, border-color .2s;
}
.contact-card:hover { background: rgba(255, 255, 255, .14); border-color: var(--pink); }
.contact-card svg {
  flex: none; width: 24px; height: 24px;
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round;
}

/* Footer */
.site-footer { background: var(--ink); color: #9aa1a8; padding: 2rem 0; font-size: .875rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-inner img { width: 120px; opacity: .9; }
.footer-inner p { margin: 0; }

/* Responsivo */
@media (max-width: 820px) {
  .about, .service-groups, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 680px) {
  .header-inner { height: 70px; }
  .brand img { width: 120px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 20px 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .service-group { padding: 1.5rem; }
}
