/* ================================================
   SOMOS TU REFORMA — Design System
   somostureforma.es — Comunidad Valenciana
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:          #1A2B4A;
  --navy-soft:     #243659;
  --navy-light:    #2d4370;
  --orange:        #E8622A;
  --orange-soft:   #FFF0E8;
  --cream:         #F9F7F4;
  --white:         #FFFFFF;
  --ink:           #0F1923;
  --text-muted:    rgba(26, 43, 74, 0.60);
  --text-faint:    rgba(26, 43, 74, 0.40);
  --border:        rgba(0, 0, 0, 0.08);

  --font-sans:     'Inter', system-ui, sans-serif;
  --font-display:  'Montserrat', 'Inter', sans-serif;

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

  --shadow-card:   0 2px 16px rgba(26,43,74,0.08), 0 1px 4px rgba(26,43,74,0.06);
  --shadow-lg:     0 16px 48px rgba(26,43,74,0.14);

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

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

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

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

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-label--navy { color: rgba(26,43,74,0.55); }
.section-label--white { color: rgba(255,255,255,0.55); }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 12px;
}
.section-heading--white { color: var(--white); }

.section-sub {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
}

.divider {
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  margin: 20px 0 0;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--white);
  color: var(--navy);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.10); transform: translateY(-2px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

.btn-outline-navy {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid rgba(26,43,74,0.18);
}
.btn-outline-navy:hover { background: var(--cream); transform: translateY(-2px); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: #d4551e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,98,42,0.35); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-fade-up  { animation: fadeUp 0.75s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.60s; }

/* ── HEADER / NAV ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.5s ease forwards;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 24px; height: 24px; color: var(--white); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text span:first-child {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text strong span {
  color: var(--orange);
}

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

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(26,43,74,0.75);
  transition: color 0.2s;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}
.nav a:hover { color: var(--orange); }
.nav a:hover::after { width: 100%; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--cream); color: var(--orange); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.phone-link svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.phone-link:hover { color: var(--orange); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: 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(105deg, rgba(26,43,74,0.92) 0%, rgba(26,43,74,0.60) 55%, rgba(26,43,74,0.20) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 120px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 28px;
}

.hero h1 span {
  display: block;
  color: rgba(255,255,255,0.82);
  margin-top: 8px;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-trust {
  margin-top: 36px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,43,74,0.15);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card:hover .why-icon { background: var(--orange); color: var(--white); }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
}

.why-card p {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26,43,74,0.35);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.2s;
}
.service-card:hover .service-card-arrow { transform: translate(3px, -3px); }

.service-card p {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(0,0,0,0.58);
}

.service-card-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(0,0,0,0.68);
}
.service-card-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}

/* Services full-width card */
.service-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
}
.service-card--wide .service-card-img {
  flex: 0 0 380px;
  aspect-ratio: auto;
}
.service-card--wide .service-card-body { padding: 36px; }

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

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

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -28px;
  right: -20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.about-badge span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(26,43,74,0.14);
  background: var(--cream);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-top: 20px;
}

.about-text p {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(26,43,74,0.72);
}

.about-checklist {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(26,43,74,0.82);
  font-weight: 500;
}
.about-checklist li svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 56px 0;
}

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

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-number span { color: var(--orange); }

.stat-label {
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }

.testimonial-quote {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  color: rgba(232,98,42,0.30);
}

.stars {
  display: flex;
  gap: 3px;
}
.stars svg {
  width: 16px;
  height: 16px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-card blockquote {
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-info span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.50);
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  color: rgba(255,255,255,0.82);
}
.reviews-summary .stars { gap: 4px; }
.reviews-summary span {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ── PRESUPUESTO (CONTACT) ── */
.contact-section {
  background: var(--cream);
  padding: 100px 0;
}

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

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 12px;
}

.contact-info p {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.contact-phone:hover { border-color: var(--orange); transform: translateY(-2px); }

.contact-phone-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-phone-icon svg { width: 22px; height: 22px; color: var(--orange); }

.contact-phone-text span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.contact-phone-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2px;
  letter-spacing: -0.02em;
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 24px;
  background: #25D366;
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.30);
}
.contact-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }
.contact-whatsapp svg { width: 22px; height: 22px; fill: var(--white); flex-shrink: 0; }

.contact-guarantees {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-guarantees li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-guarantees li svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

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

.form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--cream);
  border: 1.5px solid rgba(26,43,74,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder { color: rgba(26,43,74,0.38); }

input:focus, select:focus, textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232,98,42,0.10);
}

textarea { resize: vertical; min-height: 110px; }

select {
  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='%231A2B4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  justify-content: center;
  font-size: 1rem;
}

.form-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-faint);
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg { width: 22px; height: 22px; color: var(--white); }

.footer-logo strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--white);
}
.footer-logo strong span { color: var(--orange); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--orange); }

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: var(--transition);
  cursor: pointer;
}
.whatsapp-fab:hover { transform: scale(1.10); box-shadow: 0 12px 36px rgba(37,211,102,0.55); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: var(--white); }

.whatsapp-tooltip {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.whatsapp-fab:hover + .whatsapp-tooltip,
.whatsapp-fab:focus + .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { flex-direction: column; }
  .service-card--wide .service-card-img { flex: none; aspect-ratio: 16/7; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
  .phone-link { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-cta .btn:last-child { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .hero { min-height: 80vh; }
  .hero-content { padding: 100px 0 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide .service-card-img { aspect-ratio: 4/3; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .container { padding: 0 16px; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
