/* AMIGDALA — Pure CSS (replaces Tailwind + Next.js) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.5;
  color: #000;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; }

/* ===== UTILITY ===== */
.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(226, 232, 137, 0.9); /* accent #E2E889 */
  padding: 1rem 0;
  transition: all 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { width: 50px; height: 50px; }

/* Desktop nav */
.nav-desktop {
  display: none; align-items: center; gap: 2rem;
}
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-weight: 500; transition: color 0.3s; color: #000;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop .nav-btn {
  background: #000; color: #fff; padding: 0.5rem 1rem; border-radius: 6px;
}
.nav-desktop .nav-btn:hover { color: #E2E889; }

/* Hamburger */
.hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; color: #000;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger svg { width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(226, 232, 137, 0.97); z-index: 100;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.25rem; font-weight: 500; color: #000;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: #555; }
.mobile-menu .nav-btn {
  background: #000; color: #fff; padding: 0.75rem 2rem; border-radius: 6px;
}
.mobile-menu .nav-btn:hover { color: #E2E889; }
.mobile-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #000; background: none; border: none; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; padding: 5rem 1rem;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: url('images/shadow-hands.jpeg') center/cover;
  opacity: 0.1;
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 64rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
@media (min-width: 768px) { .hero-content { flex-direction: row; justify-content: center; } }
.hero-isotipo img { width: 200px; height: 200px; margin: 0 auto; }
@media (min-width: 768px) { .hero-isotipo img { margin: 0; } }
.hero-text { text-align: center; }
@media (min-width: 768px) { .hero-text { text-align: left; } }
.hero-text img { width: 400px; max-width: 100%; margin: 0 auto; }
@media (min-width: 768px) { .hero-text img { margin: 0; } }
.hero-subtitle {
  font-size: 1.25rem; font-weight: 500; color: #9ca3af; margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.5rem; } }
.hero-author { font-size: 1.125rem; font-style: italic; color: #6b7280; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: bounce 1s infinite;
}
.hero-scroll svg { width: 2rem; height: 2rem; color: #374151; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: translateX(-50%) translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

/* ===== ABOUT / MI HISTORIA ===== */
.section-about {
  padding: 4rem 1rem;
}
.about-inner {
  max-width: 64rem; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 3rem;
}
@media (min-width: 768px) {
  .about-inner { flex-direction: row; align-items: flex-start; gap: 3rem; }
}
.about-image img {
  width: 280px; height: 280px; border-radius: 9999px; object-fit: cover;
  border: 4px solid #E2E889;
}
.about-text { max-width: 640px; }
.about-text h2 {
  font-size: 1.875rem; font-weight: 300; margin-bottom: 1.5rem; color: #000;
}
@media (min-width: 768px) { .about-text h2 { font-size: 2.25rem; } }
.about-text p {
  color: #4b5563; line-height: 1.625; margin-bottom: 1rem;
}
.about-text .closing {
  font-style: italic; color: #374151; margin-top: 1.5rem;
  padding-left: 1rem; border-left: 3px solid #E2E889;
}

/* ===== SERVICES ===== */
.section-services {
  padding: 4rem 1rem; background: #fafae8; /* accent light */
}
.services-inner { max-width: 72rem; margin: 0 auto; }
.services-inner > h2 {
  font-size: 1.875rem; font-weight: 600; text-align: center; margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .services-inner > h2 { font-size: 2.25rem; } }
.services-intro {
  text-align: center; color: #4b5563; max-width: 42rem; margin: 0 auto 2.5rem;
  line-height: 1.625;
}
/* Featured image for services */
.services-featured {
  margin-bottom: 2rem; text-align: center;
}
.services-featured img {
  width: 100%; max-width: 600px; border-radius: 12px; margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: #fff; border-radius: 12px; padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); transform: translateY(-2px); }
.service-card h3 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; color: #000;
}
.service-card p { color: #4b5563; line-height: 1.625; margin-bottom: 0.75rem; }
.service-card .additional { font-size: 0.875rem; color: #6b7280; font-style: italic; }

/* ===== APPROACH ===== */
.section-approach {
  padding: 4rem 1rem;
}
.approach-inner { max-width: 64rem; margin: 0 auto; }
.approach-inner > h2 {
  font-size: 1.875rem; font-weight: 600; text-align: center; margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .approach-inner > h2 { font-size: 2.25rem; } }
.approach-intro {
  text-align: center; color: #4b5563; max-width: 48rem; margin: 0 auto 2.5rem;
  line-height: 1.625;
}
.principles {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  text-align: center; padding: 1.5rem;
}
.principle-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: #000; color: #fff; font-weight: 700; font-size: 1.25rem;
  margin-bottom: 1rem;
}
.principle h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.principle p { color: #4b5563; line-height: 1.625; font-size: 0.9375rem; }
/* Featured image for approach */
.approach-featured {
  margin-top: 2rem; text-align: center;
}
.approach-featured img {
  width: 100%; max-width: 600px; border-radius: 12px; margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.approach-closing {
  text-align: center; color: #374151; max-width: 48rem; margin: 2.5rem auto 0;
  line-height: 1.625; font-style: italic;
}

/* ===== EXPERIENCE ===== */
.section-experience {
  padding: 4rem 1rem; background: #f9fafb; /* gray-50 */
}
.experience-inner { max-width: 72rem; margin: 0 auto; }
.experience-inner > h2 {
  font-size: 1.875rem; font-weight: 600; text-align: center; margin-bottom: 2rem;
}
@media (min-width: 768px) { .experience-inner > h2 { font-size: 2.25rem; } }
.experience-content {
  display: flex; flex-direction: column; gap: 2rem;
}
@media (min-width: 768px) { .experience-content { flex-direction: row; gap: 3rem; } }
.experience-left, .experience-right { flex: 1; }
.experience-left p, .experience-right p {
  color: #4b5563; line-height: 1.625; white-space: pre-line;
}
.experience-image {
  margin-top: 2rem; text-align: center;
}
.experience-image img {
  width: 100%; max-width: 500px; border-radius: 12px; margin: 0 auto;
}

/* ===== CONTACT ===== */
.section-contact {
  padding: 4rem 1rem;
}
.contact-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.contact-inner > h2 {
  font-size: 1.875rem; font-weight: 600; margin-bottom: 1rem;
}
@media (min-width: 768px) { .contact-inner > h2 { font-size: 2.25rem; } }
.contact-lines { color: #4b5563; line-height: 1.625; margin-bottom: 2rem; }
.contact-info {
  display: flex; flex-direction: column; gap: 1rem; align-items: center; margin-bottom: 2rem;
}
.contact-item {
  display: flex; align-items: center; gap: 0.5rem;
}
.contact-item svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.contact-item a { transition: color 0.3s; }
.contact-item a:hover { text-decoration: underline; }
.contact-closing {
  color: #4b5563; line-height: 1.625; white-space: pre-line; margin-bottom: 1rem;
}
.contact-signature { font-style: italic; font-weight: 600; font-size: 1.25rem; }

/* ===== CONTENT CTA (on index) ===== */
.section-content-cta {
  padding: 4rem 1rem; text-align: center;
}
.content-cta-inner { max-width: 42rem; margin: 0 auto; }
.content-cta-inner h2 {
  font-size: 1.875rem; font-weight: 300; margin-bottom: 1rem;
}
@media (min-width: 768px) { .content-cta-inner h2 { font-size: 2.25rem; } }
.content-cta-inner p { color: #4b5563; margin-bottom: 2rem; }
.btn-primary {
  display: inline-block; background: #000; color: #fff;
  padding: 0.75rem 2rem; border-radius: 6px; font-size: 1.125rem;
  transition: color 0.3s;
}
.btn-primary:hover { color: #E2E889; }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 60px; height: 60px; border-radius: 9999px;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #E2E889;
  color: #000; padding: 3rem 1rem;
}
.footer-inner { max-width: 72rem; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { display: flex; align-items: center; margin-bottom: 1rem; gap: 0.5rem; }
.footer-brand img:first-child { width: 60px; height: 60px; border-radius: 9999px; }
.footer-brand img:last-child { width: 200px; }
.footer-col h4 { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.footer-contact-item svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.footer-bottom {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}
