/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors — Warm Mediterranean palette */
  --color-bg: #faf8f5;
  --color-bg-dark: #1a1714;
  --color-bg-card: #ffffff;
  --color-text: #1a1714;
  --color-text-muted: #6b6560;
  --color-text-light: #9e9790;
  --color-accent: #c4835a;
  --color-accent-hover: #b0724c;
  --color-accent-light: rgba(196, 131, 90, 0.1);
  --color-border: rgba(26, 23, 20, 0.08);
  --color-overlay: rgba(26, 23, 20, 0.55);
  --color-glass: rgba(255, 255, 255, 0.72);
  --color-glass-border: rgba(255, 255, 255, 0.25);
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 800ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  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; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-text {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-text);
  margin-top: var(--space-sm);
}

.preloader-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.preloader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  animation: preloader-slide 1.2s ease-in-out infinite;
}

@keyframes preloader-slide {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: var(--color-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 var(--color-glass-border);
  padding: 0.6rem var(--space-md);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: white;
  transition: color var(--duration-fast);
}

.navbar.scrolled .nav-logo {
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.navbar.scrolled .lang-toggle { color: var(--color-text-muted); }

.lang-option { cursor: pointer; transition: color var(--duration-fast); }
.lang-option.active { color: white; }
.navbar.scrolled .lang-option.active { color: var(--color-accent); }
.lang-divider { opacity: 0.4; }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: white;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast),
              background var(--duration-fast);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--color-text);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: white;
  transition: color var(--duration-fast);
}

.mobile-menu a:hover { color: var(--color-accent); }

.mobile-cta {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero.visible .hero-bg img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 23, 20, 0.3) 0%,
    rgba(26, 23, 20, 0.5) 50%,
    rgba(26, 23, 20, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: white;
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 131, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--color-bg-dark);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-xs);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background: var(--color-bg);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--duration-fast);
  border: 1.5px solid transparent;
}

.filter-btn:hover { color: var(--color-text); }

.filter-btn.active {
  background: var(--color-text);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item[data-hidden="true"] {
  display: none;
}

.portfolio-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.85), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.portfolio-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: white;
  margin-bottom: 4px;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== SERVICES ===== */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 23, 20, 0.08);
}

.service-card.featured {
  background: var(--color-bg-dark);
  color: white;
  border-color: transparent;
}

.service-card.featured .service-price {
  color: var(--color-accent);
}

.service-badge {
  position: absolute;
  top: -12px;
  right: var(--space-md);
  background: var(--color-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.6);
}

.service-price {
  margin-top: var(--space-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
}

.services-note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.about-features {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-feature {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== PROCESS ===== */
.process {
  background: white;
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--color-bg-dark);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: var(--space-sm);
}

.contact-info .section-eyebrow {
  text-align: left;
}

.contact-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-channel {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast);
}

.contact-channel:hover {
  background: var(--color-accent-light);
}

.channel-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-channel strong {
  display: block;
  font-size: 0.9rem;
}

.contact-channel p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.contact-location {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-md);
  padding: var(--space-sm);
}

.contact-location strong { display: block; font-size: 0.9rem; }
.contact-location p { font-size: 0.85rem; color: var(--color-text-muted); }

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(26, 23, 20, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 16px 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-group label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  pointer-events: none;
  transition: all var(--duration-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 4px;
  font-size: 0.7rem;
  color: var(--color-accent);
}

.form-group select {
  padding: 14px 16px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e9790' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-dark);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: white;
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration-fast);
}

.footer-links a:hover { color: white; }

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
}

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .about-img-wrapper img { height: 350px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-actions { margin-right: 50px; }
  
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .stat-number { font-size: 2rem; }
  
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-grid { flex-direction: column; gap: var(--space-md); }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg img { transform: none; transition: none; }
  .scroll-indicator::after { animation: none; }
  .preloader-line::after { animation: none; }
  html { scroll-behavior: auto; }
}
