/* ═══════════════════════════════════════════════════
   GRUPO HARRPER — Landing Page Styles
   Palette: CMYK-inspired (Cyan, Magenta, Yellow, Key/Black)
   ═══════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Brand CMYK Colors */
  --cyan: #00B4D8;
  --cyan-dark: #0096B4;
  --cyan-light: #48CAE4;
  --magenta: #E63B7A;
  --magenta-dark: #C42D64;
  --magenta-light: #F06B9E;
  --yellow: #FFD23F;
  --yellow-dark: #E6B800;
  --yellow-light: #FFE066;
  --key: #1A1A2E;
  --key-light: #2D2D44;
  --key-lighter: #3D3D5C;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-100: #F1F3F8;
  --gray-200: #E2E5EE;
  --gray-300: #CCD0DC;
  --gray-400: #9DA3B4;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --dark: #0D0D1A;

  /* Gradients */
  --gradient-cmyk: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 50%, var(--yellow) 100%);
  --gradient-hero: linear-gradient(135deg, var(--key) 0%, #1a1a3e 40%, #251a3e 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.6) 100%);

  /* Typography */
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;

  /* Misc */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);
  --shadow-glow-cyan: 0 0 40px rgba(0,180,216,0.3);
  --shadow-glow-magenta: 0 0 40px rgba(230,59,122,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

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

/* ── Text gradient utility ── */
.text-gradient {
  background: var(--gradient-cmyk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.navbar.scrolled .nav-links li a {
  color: var(--gray-600);
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-links li a:hover {
  color: var(--cyan-dark);
  background: var(--gray-100);
}

.nav-btn-mail {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--cyan) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-btn-mail:hover {
  background: var(--cyan-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--key);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--cyan);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--magenta);
  bottom: -80px;
  left: -80px;
  animation-delay: -5s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

.shape-4 {
  width: 200px;
  height: 200px;
  background: var(--cyan-light);
  top: 30%;
  right: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 100px;
  color: var(--cyan-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-gradient {
  background: var(--gradient-cmyk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-subtitle strong {
  color: var(--white);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cmyk);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.4);
}

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

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

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-image-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-cmyk);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.5;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ══════════════════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════════════════ */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(230,59,122,0.1));
  border: 1px solid rgba(0,180,216,0.15);
  border-radius: 100px;
  color: var(--cyan-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--key);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════ */
.services {
  padding: var(--section-padding) 0;
  background: var(--off-white);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-cmyk);
  opacity: 0.3;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

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

.service-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0.15;
  transition: var(--transition);
}

.service-card:hover .service-card-overlay {
  opacity: 0.05;
}

.service-card-content {
  padding: 32px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(230,59,122,0.08));
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan-dark);
}

.service-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--key);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card-content p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.about-text {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 48px;
}

.about-text strong {
  color: var(--key);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 24px 16px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: var(--gradient-cmyk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: var(--gradient-cmyk);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* About Visual — CMYK blocks */
.about-visual {
  position: relative;
}

.about-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 1;
}

.about-color-block {
  border-radius: var(--radius-lg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-color-block.c1 {
  background: var(--cyan);
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-sm) var(--radius-sm);
}

.about-color-block.c2 {
  background: var(--magenta);
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-sm);
}

.about-color-block.c3 {
  background: var(--yellow);
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) var(--radius-lg);
}

.about-color-block.c4 {
  background: var(--key);
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-lg) var(--radius-sm);
}

.about-color-block:hover {
  transform: scale(1.05);
}

.about-cmyk-label {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gray-300);
  letter-spacing: 0.3em;
}

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--key);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cmyk);
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.08), transparent 70%);
  pointer-events: none;
}

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

.contact .section-tag {
  background: rgba(0,180,216,0.15);
  border-color: rgba(0,180,216,0.25);
  color: var(--cyan-light);
}

.contact .section-title {
  color: var(--white);
}

.contact-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 36px;
}

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

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

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan-light);
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-item span {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

.btn-webmail-alt {
  color: var(--cyan-light) !important;
  border-color: rgba(0,180,216,0.3) !important;
}

.btn-webmail-alt:hover {
  border-color: var(--cyan) !important;
  background: rgba(0,180,216,0.1) !important;
}

/* ── Contact Form ── */
.contact-form-wrapper {
  position: relative;
  z-index: 2;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 32px;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--key);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--gray-400);
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--key);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,180,216,0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239DA3B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--magenta);
  margin-top: 6px;
  font-weight: 600;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--magenta);
  background: rgba(230,59,122,0.04);
}

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

/* Submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  font-size: 1rem;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-loading,
.btn-success {
  display: none;
  align-items: center;
  gap: 8px;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline-flex; }
.btn-submit.success .btn-text { display: none; }
.btn-submit.success .btn-loading { display: none; }
.btn-submit.success .btn-success { display: inline-flex; }
.btn-submit.success {
  background: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.spinner {
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 64px 0 32px;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan-light);
  transform: translateX(4px);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.footer-cmyk {
  display: flex;
  gap: 8px;
}

.cmyk-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.cmyk-dot:hover {
  transform: scale(1.5);
}

.cmyk-dot.c { background: var(--cyan); }
.cmyk-dot.m { background: var(--magenta); }
.cmyk-dot.y { background: var(--yellow); }
.cmyk-dot.k { background: var(--gray-400); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .about-visual-grid {
    max-width: 400px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links li a {
    color: var(--gray-600) !important;
    font-size: 1rem;
    padding: 12px 0;
    width: 100%;
  }

  .nav-links li a:hover {
    color: var(--cyan-dark) !important;
    background: transparent !important;
  }

  .nav-btn-mail {
    margin-top: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

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

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

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

  .hero-scroll-indicator {
    display: none;
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

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