/* ===================================
   TALLERES GARMILLA — ESTILOS
   =================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --cream-50: #fefce8;
  --cream-100: #fef9c3;
  --cream-200: #fef08a;
  --cream-300: #fde68a;
  --cream-400: #fcd34d;
  --cream-500: #fbbf24;
  --cream-600: #f59e0b;

  --bg-primary: #fefcf7;
  --bg-secondary: #f8faf8;
  --bg-cream: #fefce8;
  --bg-emerald-light: #ecfdf5;

  --text-primary: #1a2e2e;
  --text-secondary: #4a5e5e;
  --text-muted: #7a8e8e;
  --text-light: #a0b4b4;

  --white: #ffffff;
  --border: #e8ede8;
  --border-light: #f0f5f0;

  --shadow-sm: 0 1px 3px rgba(5, 150, 105, 0.06), 0 1px 2px rgba(5, 150, 105, 0.04);
  --shadow-md: 0 4px 16px rgba(5, 150, 105, 0.08), 0 2px 6px rgba(5, 150, 105, 0.04);
  --shadow-lg: 0 12px 40px rgba(5, 150, 105, 0.12), 0 4px 12px rgba(5, 150, 105, 0.06);
  --shadow-xl: 0 20px 60px rgba(5, 150, 105, 0.15), 0 8px 20px rgba(5, 150, 105, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
.text-gradient {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
  color: var(--white);
  border-color: var(--emerald-600);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 100%);
  border-color: var(--emerald-700);
}

.btn-outline {
  background: transparent;
  color: var(--emerald-700);
  border-color: var(--emerald-300);
}

.btn-outline:hover {
  background: var(--bg-emerald-light);
  border-color: var(--emerald-500);
}

.btn-white {
  background: var(--white);
  color: var(--emerald-700);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream-50);
  border-color: var(--cream-200);
}

.btn-cream {
  background: var(--cream-100);
  color: var(--emerald-800);
  border-color: var(--cream-200);
}

.btn-cream:hover {
  background: var(--cream-200);
  border-color: var(--cream-300);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 252, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(254, 252, 247, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-400) 100%);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
}

.logo strong {
  font-weight: 700;
  color: var(--emerald-700);
}

/* NAV */
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-list a:hover {
  color: var(--emerald-700);
  background: var(--bg-emerald-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-emerald-light) 50%, var(--cream-50) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--white);
  border: 1px solid var(--emerald-200);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--emerald-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.hero-card-main {
  position: relative;
}

.hero-card-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.85) 0%, transparent 100%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.card-overlay-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--white);
  font-weight: 500;
}

.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-card-float-1 {
  top: -20px;
  right: -20px;
}

.hero-card-float-2 {
  bottom: 60px;
  left: -30px;
}

.hero-card-float-3 {
  bottom: -20px;
  right: 30px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--emerald-100) 0%, var(--emerald-200) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald-700);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* HERO WAVE */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: var(--bg-secondary);
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-emerald-light);
  border: 1px solid var(--emerald-200);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- SERVICES --- */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--emerald-50) 0%, var(--emerald-100) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--emerald-500) 100%);
  color: var(--white);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- ABOUT --- */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 580px;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.about-img-accent img {
  width: 300px;
  height: 260px;
  object-fit: cover;
}

.about-pattern {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--emerald-300) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.5;
  z-index: -1;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.value-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* --- CTA --- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--emerald-800) 0%, var(--emerald-700) 50%, var(--emerald-600) 100%);
  position: relative;
  overflow: hidden;
}

.cta-card {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--emerald-200);
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--emerald-400) 0%, var(--emerald-600) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.author-location {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- CONTACT --- */
.contact {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--emerald-50) 0%, var(--emerald-100) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-item a {
  color: var(--emerald-700);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--emerald-500);
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-emerald-light);
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius-sm);
  color: var(--emerald-800);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-success svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* --- MAP --- */
.map-section {
  border-top: 4px solid var(--emerald-100);
}

.map-section iframe {
  filter: saturate(0.8) brightness(1.02);
}

/* --- FOOTER --- */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  background: linear-gradient(135deg, var(--emerald-400) 0%, var(--emerald-500) 100%);
}

.footer-brand .logo strong {
  color: var(--white);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--emerald-400);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--emerald-400);
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- ANIMATIONS --- */
.js-float {
  animation: float 4s ease-in-out infinite;
}

.hero-card-float-1 { animation-delay: 0s; }
.hero-card-float-2 { animation-delay: 1.3s; }
.hero-card-float-3 { animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    min-height: 420px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    max-width: 500px;
    margin: 0 auto;
    min-height: 400px;
  }

  .about-img-main img {
    height: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(254, 252, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-card-float-1 {
    top: -10px;
    right: 0;
  }

  .hero-card-float-2 {
    left: 0;
    bottom: 40px;
  }

  .hero-card-float-3 {
    right: 0;
    bottom: -10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-img-accent {
    right: 0;
    bottom: -20px;
  }

  .about-img-accent img {
    width: 220px;
    height: 200px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-card-float {
    padding: 12px 14px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }
}
