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

:root {
  --color-primary: #e8a020;
  --color-primary-dark: #c8880a;
  --color-background: #f9f6f2;
  --color-foreground: #1a1208;
  --color-card: #ffffff;
  --color-muted: #f0ece6;
  --color-muted-fg: #7a6a55;
  --color-border: #e0d8ce;
  --color-secondary: #2c2218;
  --color-secondary-fg: #f0ece6;
  --font-main: 'Segoe UI', system-ui, sans-serif;
  --radius: 16px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
}

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

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

/* ===== UTILIDADES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-label.left::after {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-foreground);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted-fg);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(232,160,32,0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0 30px rgba(232,160,32,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-muted);
  color: var(--color-foreground);
}

.btn-secondary:hover {
  background: var(--color-border);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
  padding: 20px 0;
}

#navbar.scrolled {
  background: rgba(249, 246, 242, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo .logo-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  filter: none;
}

@media (min-width: 768px) {
  .nav-logo .logo-img { width: 80px; height: 80px; }
}

.nav-logo .logo-text {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: color 0.3s;
}

.nav-logo .logo-accent {
  color: var(--color-primary);
}

#navbar.scrolled .logo-text {
  color: var(--color-foreground);
  text-shadow: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  transition: color var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-primary);
}

#navbar.scrolled .nav-links a {
  color: var(--color-muted-fg);
  text-shadow: none;
}

#navbar.scrolled .nav-links a:hover {
  color: var(--color-primary);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s;
}

#navbar.scrolled .nav-hamburger span {
  background: var(--color-foreground);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu ul {
  list-style: none;
  padding: 12px 20px 20px;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--color-foreground);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.mobile-menu ul li a:hover {
  background: var(--color-muted);
  color: var(--color-primary);
}

/* ===== HERO ===== */
#inicio {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,12,4,0.6) 0%,
    rgba(20,12,4,0.5) 60%,
    rgba(26,18,8,0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  padding: 100px 20px 60px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(232,160,32,0.18);
  color: var(--color-primary);
  border: 1px solid rgba(232,160,32,0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== NOSOTROS ===== */
#nosotros {
  padding: 100px 0;
  background: var(--color-background);
}

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

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-muted-fg);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--color-foreground);
}

.benefits-list li::before {
  content: '✔';
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translate(12px, 12px);
  background: rgba(232,160,32,0.12);
  border-radius: var(--radius);
  z-index: 0;
}

.image-placeholder {
  position: relative;
  z-index: 1;
  aspect-ratio: 4/3;
  background: var(--color-muted);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-muted-fg);
  transition: border-color var(--transition), background var(--transition);
  box-shadow: var(--shadow-md);
}

.image-placeholder:hover {
  border-color: rgba(232,160,32,0.5);
  background: #f5f0e8;
}

.image-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.image-placeholder .placeholder-text {
  font-size: 1.1rem;
  font-weight: 600;
}

.image-placeholder .placeholder-hint {
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ===== SERVICIOS ===== */
#servicios {
  padding: 100px 0;
  background: #f2ede6;
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,160,32,0.3);
  transform: translateY(-6px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(232,160,32,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: background var(--transition), color var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-foreground);
}

.service-card p {
  color: var(--color-muted-fg);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== PROYECTOS ===== */
#proyectos {
  padding: 100px 0;
  background: var(--color-background);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.project-img-placeholder {
  aspect-ratio: 4/3;
  background: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.project-img-placeholder.has-image {
  background: #000;
}

.project-img-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-placeholder.has-image img {
  transform: scale(1.05);
}

.project-img-placeholder.has-carousel {
  background: #000;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-img.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.75);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  width: 22px;
  background: #fff;
}

.project-img-placeholder .inner-dashed {
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(0,0,0,0.12);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-muted-fg);
  transition: border-color var(--transition);
}

.project-card:hover .inner-dashed {
  border-color: rgba(232,160,32,0.35);
}

.project-img-placeholder .img-icon {
  font-size: 2rem;
  opacity: 0.5;
}

.project-img-placeholder span {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.7;
}

.project-info {
  padding: 20px 24px;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.project-card:hover .project-info h3 {
  color: var(--color-primary);
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-muted-fg);
}

.project-location::before {
  content: '📍';
  font-size: 0.8rem;
}

/* ===== CONTACTO ===== */
#contacto {
  padding: 100px 0;
  background: var(--color-secondary);
  color: var(--color-secondary-fg);
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: rgba(232,160,32,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.contact-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-centered-header {
  margin-bottom: 48px;
}

.contact-centered-header .section-label::before,
.contact-centered-header .section-label::after {
  display: block;
}

.contact-centered-header h2 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-centered-header p {
  color: rgba(240,236,230,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  transition: background var(--transition), border-color var(--transition);
}

.contact-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(232,160,32,0.25);
}

.contact-info .section-label {
  color: var(--color-primary);
}

.contact-info h2 {
  color: #fff;
  margin-bottom: 16px;
}

.contact-info > p {
  color: rgba(240,236,230,0.75);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 400px;
  line-height: 1.75;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,160,32,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  color: rgba(240,236,230,0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item-text a:hover {
  color: var(--color-primary);
}

/* FORMULARIO */
.contact-form-card {
  background: var(--color-card);
  color: var(--color-foreground);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--color-border);
  background: var(--color-background);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-foreground);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e84040;
}

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

.form-error {
  font-size: 0.8rem;
  color: #e84040;
  margin-top: 5px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 14px 20px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  color: #166534;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(232,160,32,0.3);
  transition: all var(--transition);
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 28px rgba(232,160,32,0.4);
  transform: translateY(-2px);
}

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

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ===== FOOTER ===== */
footer {
  background: #110c04;
  color: rgba(240,236,230,0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  padding: 4px;
}

.footer-brand .footer-logo .footer-logo-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #fff;
  padding: 0;
  border-radius: 8px;
  filter: none;
}

.footer-brand .footer-logo span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand .footer-logo .accent {
  color: var(--color-primary);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(240,236,230,0.55);
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  color: rgba(240,236,230,0.7);
}

.social-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(240,236,230,0.55);
  transition: color var(--transition);
}

.footer-links li a:hover {
  color: var(--color-primary);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(240,236,230,0.55);
}

.footer-contact-list .icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-primary);
}

.footer-contact-list a {
  color: rgba(240,236,230,0.55);
  transition: color var(--transition);
}

.footer-contact-list a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(240,236,230,0.35);
}

.footer-bottom a {
  color: rgba(240,236,230,0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(240,236,230,0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ===== ANIMACIONES DE ENTRADA ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }

  .about-grid,
  .contact-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

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

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

  .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
