/* =========================================================
   BY CHECHU GREEN — styles
   Fonts: Constantia (títulos) · Kocheng (acentos jugueto­nes) · Poppins (texto)
   ========================================================= */

@font-face {
  font-family: "Constantia";
  src: url("../fonts/Constantia-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: url("../fonts/Constantia-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: url("../fonts/Constantia-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Constantia";
  src: url("../fonts/Constantia-BoldItalic.ttf") format("truetype");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Kocheng";
  src: url("../fonts/Kocheng-Regular.ttf") format("truetype");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

:root {
  --cream:      #FBF6EE;
  --cream-soft: #F5EEE1;
  --white:      #FFFFFF;

  --pink:       #E23576;
  --pink-dark:  #C42460;
  --pink-light: #F7C9DC;
  --pink-pale:  #FADCE7;

  --blue:       #7C90D4;
  --blue-dark:  #5F73B8;

  --teal:       #14A79C;
  --orange:     #CC8400;

  --text:       #26212E;
  --text-soft:  #5B5568;
  --text-on-dark: #FBF6EE;

  --font-title: "Constantia", Georgia, serif;
  --font-accent: "Kocheng", "Comic Sans MS", cursive;
  --font-body:  "Poppins", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 999px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

.section-title {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
}
.section-sub { color: var(--text-soft); font-size: 1.05rem; max-width: 46ch; }
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5em 1.1em;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.badge-pink { background: var(--pink-light); color: var(--pink-dark); }
.badge-outline-light { background: rgba(255,255,255,0.18); color: var(--text-on-dark); border: 1px solid rgba(255,255,255,0.5); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.9em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--pink); color: var(--white); }
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline-pink { background: transparent; border-color: var(--pink); color: var(--pink); }
.btn-outline-pink:hover { background: var(--pink); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 0.55em 1.4em; font-size: 0.88rem; }
.btn-block { display: block; width: 100%; text-align: center; border: none; }
.btn-footer {
  background: var(--pink-light);
  color: var(--pink-dark);
  font-weight: 700;
  padding: 1em 3em;
  font-size: 1.05rem;
  border-radius: var(--radius);
}
.btn-footer:hover { background: var(--white); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(38, 33, 46, 0.08);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.nav-logo-icon { height: 40px; width: 40px; }
.nav-logo-text {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  transition: color 0.2s ease;
}
.nav-links li:not(.nav-cta-item) a:hover { color: var(--pink); }
.nav-cta-item a { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) 1.5rem; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.3rem;
}
.hero-desc { color: var(--text-soft); font-size: 1.08rem; max-width: 48ch; margin-bottom: 1.8rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: 0 20px 40px rgba(38, 33, 46, 0.14);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   QUOTE BANNER
   ========================================================= */
.quote-banner {
  background: var(--pink);
  color: var(--text-on-dark);
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem;
}
.quote-text {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.35;
  max-width: 40ch;
  margin: 0 auto 1.2rem;
}
.quote-author { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; opacity: 0.9; }

/* =========================================================
   PROYECTOS — quick menu
   ========================================================= */
.proyectos { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; }
.proyectos-menu { margin-bottom: clamp(3rem, 6vw, 5rem); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 920px;
  margin: 0 auto;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, background 0.2s ease;
}
.menu-item:hover { transform: translateY(-4px); background: var(--pink-pale); }
.menu-icon { width: clamp(90px, 11vw, 150px); height: clamp(90px, 11vw, 150px); flex: 0 0 auto; border-radius: 50%; overflow: hidden; }
.menu-icon img { width: 100%; height: 100%; object-fit: cover; }
.menu-label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  color: var(--text);
  line-height: 1.15;
}

/* =========================================================
   SERVICE SECTIONS (Intervención Textil / Ilustraciones / Diseño Textil / Murales)
   ========================================================= */
.service-section {
  background: var(--pink-pale);
  border-radius: var(--radius-lg);
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 5.5rem;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), margin-bottom 0.4s ease;
}
.service-section.is-open { margin-bottom: 2.5rem; }
.service-section.is-open:last-child { margin-bottom: 0; }

.panel-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.panel-close:hover { background: var(--white); transform: scale(1.08); }

.service-panel {
  padding: clamp(2.2rem, 5vw, 3.5rem);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
}
.service-section.is-open .service-panel { opacity: 1; transform: translateY(0); }

.service-head { max-width: 700px; margin: 0 auto 2.5rem; text-align: center; }
.service-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-title {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--pink-dark);
  margin-bottom: 0.8rem;
}
.service-kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}
.service-text { color: var(--text-soft); margin-bottom: 0.9rem; }
.service-text:last-child { margin-bottom: 0; }
.service-text-strong { font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.92rem; }

.service-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.service-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-gallery figure:hover img { transform: scale(1.06); }

/* =========================================================
   SOBRE MÍ
   ========================================================= */
.about {
  max-height: 0;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 5.5rem;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
}
.about.is-open .about-inner { opacity: 1; transform: translateY(0); }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: 0 20px 40px rgba(38,33,46,0.14); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.about-text p { color: var(--text-soft); margin-bottom: 1rem; max-width: 52ch; }
.about-tags { font-weight: 600; color: var(--pink-dark); letter-spacing: 0.3px; margin-bottom: 1.6rem !important; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-left .section-title { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 1rem; }
.contact-desc { color: var(--text-soft); margin-bottom: 1.8rem; max-width: 48ch; }
.contact-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 2.2rem; box-shadow: 0 16px 32px rgba(38,33,46,0.12); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-steps-title { font-family: var(--font-title); font-size: 1.4rem; margin-bottom: 1.2rem; }
.contact-steps { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-steps strong { display: block; margin-bottom: 0.25rem; }
.contact-steps p { color: var(--text-soft); font-size: 0.95rem; margin: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 20px 45px rgba(38,33,46,0.12);
  display: flex;
  flex-direction: column;
}
.contact-form h3 { font-family: var(--font-title); font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-sub { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 1.6rem; }
.contact-form label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; display: block; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75em 1em;
  border-radius: 12px;
  border: 1px solid rgba(38,33,46,0.15);
  background: var(--cream-soft);
  color: var(--text);
  margin-bottom: 1.3rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--white);
}
.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.3rem; }
.pill {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5em 1.1em;
  border-radius: var(--radius);
  border: 1px solid rgba(38,33,46,0.18);
  background: var(--cream-soft);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pill.selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-soft); margin-top: 1rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--blue); color: var(--white); }
.footer-cta { text-align: center; padding: clamp(2rem, 5vw, 3rem) 1.5rem 0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo-icon { height: 44px; width: 44px; }
.footer-logo span { font-family: var(--font-accent); font-weight: 700; font-size: 1.2rem; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem; }
.footer-social-label { font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem; opacity: 0.85; }
.footer-social a { font-weight: 500; }
.footer-social a:hover { opacity: 0.75; }
.footer-copy { opacity: 0.85; font-size: 0.82rem; }
.footer-copy a { text-decoration: underline; }

/* =========================================================
   IMAGE FALLBACK PLACEHOLDER
   ========================================================= */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  width: 100%;
  padding: 1rem;
  text-align: center;
  font: 600 0.72rem/1.3 var(--font-body);
  color: var(--pink-dark);
  background: var(--pink-pale);
  border: 2px dashed var(--pink-light);
  border-radius: 12px;
  word-break: break-all;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 460px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-buttons { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .about-text { text-align: center; }
  .about-text p { margin-left: auto; margin-right: auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-grid { grid-template-columns: 1fr; max-width: 420px; gap: 2rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(38,33,46,0.08);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); visibility: visible; }
  .nav-links li { width: 100%; padding: 0.6rem 0; }
  .nav-cta-item { padding-top: 1rem !important; }
  .service-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .service-gallery, .service-gallery-3 { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { max-width: 320px; }
  .menu-icon { width: 80px; height: 80px; }
  .menu-label { font-size: 1.5rem; }
  .nav-logo-text { display: none; }
}
