/* Vega Electric Services LLC - Landing styles */

:root {
  --bg-dark: #0f1419;
  --bg-card: #1a222c;
  --bg-section: #141b24;
  --accent: #0ea5e9;
  --accent-hover: #38bdf8;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --border: rgba(14, 165, 233, 0.35);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-pill: 9999px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-ios: 0 2px 8px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-ios-lg: 0 4px 12px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Prevent iOS zoom on input focus when font-size >= 16px */
input, select, textarea, button {
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (max-width: 480px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-llc {
  color: var(--accent);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: var(--radius-pill);
  background: rgba(14, 165, 233, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.header-cta:hover {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: var(--shadow-ios);
}

.header-cta:active {
  transform: scale(0.98);
}

.header-cta-whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
}

.header-cta-whatsapp:hover {
  background: #25d366;
  color: #fff;
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

/* Hero background slideshow - imágenes en carpeta hero/ (slide1.jpg … slide8.jpg) */
.hero-bg-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  filter: brightness(1.12) contrast(1.05);
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.hero-bg-slide-1 { background-image: url('hero/slide1.jpg'); opacity: 1; }
.hero-bg-slide-2 { background-image: url('hero/slide2.jpg'); }
.hero-bg-slide-3 { background-image: url('hero/slide3.jpg'); }
.hero-bg-slide-4 { background-image: url('hero/slide4.jpg'); }
.hero-bg-slide-5 { background-image: url('hero/slide5.jpg'); }
.hero-bg-slide-6 { background-image: url('hero/slide6.jpg'); }
.hero-bg-slide-7 { background-image: url('hero/slide7.jpg'); }
.hero-bg-slide-8 { background-image: url('hero/slide8.jpg'); }

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 25, 0.5) 0%, rgba(15, 20, 25, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
}

.hero-subtitle a {
  color: inherit;
}

.hero-services-line {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.hero-tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.hero-area {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-phone {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.hero-phone a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.hero-phone a:hover {
  color: var(--accent);
}

.hero-cta-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons – iOS liquid / pill style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: var(--shadow-ios);
}

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

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  border: 1px solid rgba(14, 165, 233, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg-dark);
  box-shadow: var(--shadow-ios);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: var(--shadow-ios);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-ios-lg);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.25rem;
  animation: bounce 2s infinite;
}

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

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* Services */
.services {
  background: var(--bg-section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Service detail pages */
.service-detail {
  background: var(--bg-section);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.service-detail-main h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.service-detail-main p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.service-detail-list li::before {
  content: "✔";
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.service-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-detail-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.service-detail-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.service-detail-card p,
.service-detail-card li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.service-detail-stats {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.service-detail-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.service-detail-stat strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

/* Quick facts / trust band */
.quick-facts {
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.18), transparent 60%), var(--bg-dark);
}

.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.quick-fact {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
}

.quick-fact h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
}

.quick-fact p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Why choose us - 4 clear benefits (Global Power style) */
.why-choose {
  background: var(--bg-section);
}

.why-choose .section-intro {
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-choose-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--bg-card);
  text-align: center;
}

.why-choose-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.why-choose-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--white);
}

.why-choose-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Areas we serve - city list */
.areas-serve {
  background: var(--bg-dark);
}

.areas-serve .section-intro {
  margin-bottom: 1.25rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.areas-list li {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.areas-list li:last-child {
  border-bottom: none;
  font-weight: 500;
  color: var(--text);
}

/* Fit section */
.fit {
  background: var(--bg-section);
}

.fit-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.fit-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--bg-card);
}

.fit-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
}

.fit-card ul {
  padding-left: 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.fit-card li {
  margin-bottom: 0.4rem;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text .section-title {
  margin-bottom: 0.25rem;
}

.about-lead {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.about-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-card strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

/* Gallery / Our work */
.gallery {
  background: var(--bg-section);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  min-height: 220px;
  background: var(--bg-card);
}

.work-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.work-card-overlay {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.9));
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.work-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--white);
}

.work-card p {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.work-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.work-card:hover .work-card-image {
  transform: scale(1.06);
}

.work-card:hover .work-card-cta {
  text-decoration: underline;
}

.hero-service .hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-trust {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}

.gallery-categories {
  position: relative;
}

.gallery-category {
  display: none;
}

.gallery-category.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  isolation: isolate;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease, opacity 0.25s ease;
  /* Evita rectángulos negros al hacer hover/zoom (Safari, iOS, algunos Chrome) */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.gallery-item:hover img {
  transform: translate3d(0, 0, 0) scale(1.04);
}

@media (hover: none) {
  .gallery-item:hover img {
    transform: none;
  }
}

/* FAQ */
.faq {
  background: var(--bg-section);
}

.faq-list {
  max-width: 640px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0;
}

/* Testimonials */
.testimonials {
  background: radial-gradient(circle at top, rgba(245, 158, 11, 0.08), transparent 55%), var(--bg-section);
}

.reviews-summary-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.reviews-summary-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reviews-stars {
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
}

.reviews-score {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}

.reviews-source {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.google-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 0.1rem;
  font-weight: 700;
}

.google-logo .g { color: #4285f4; }
.google-logo .o1 { color: #ea4335; }
.google-logo .o2 { color: #fbbc05; }
.google-logo .g2 { color: #4285f4; }
.google-logo .l { color: #34a853; }
.google-logo .e { color: #ea4335; }

.reviews-summary-label {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.25rem 0 0;
}

.reviews-summary-based-on {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.reviews-summary-cta {
  white-space: nowrap;
}

.testimonials-slider {
  position: relative;
  margin-top: 1.5rem;
}

.testimonials-slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0.25rem;
  box-sizing: border-box;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: var(--white);
  font-size: 0.98rem;
}

.testimonial-rating {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  margin: 0 0 0.75rem;
  flex: 1;
  max-height: 5.5rem; /* colapsado: unas 3-4 líneas */
  overflow: hidden;
}

.testimonial-card.is-expanded .testimonial-text {
  max-height: none;
}

.testimonial-read-more {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.testimonial-card cite {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
}

.testimonials-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  z-index: 2;
}

.testimonials-arrow:hover {
  background: rgba(15, 23, 42, 1);
  border-color: var(--accent);
  transform: translateY(-50%) translateY(-1px);
}

.testimonials-arrow-prev {
  left: 0.5rem;
}

.testimonials-arrow-next {
  right: 0.5rem;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.testimonials-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.testimonials-dot.is-active {
  background: var(--accent);
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-details p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.link-maps,
.link-reviews {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.link-maps:hover,
.link-reviews:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin: 0 0 1.25rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 48px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.contact-form select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2rem;
}

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

.contact-form button {
  width: 100%;
  margin-top: 0.25rem;
  border-radius: var(--radius-pill);
}

/* Footer */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand .logo {
  font-size: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.footer-phone {
  margin-top: 0.5rem;
}

.footer-phone a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.footer-hours,
.footer-license {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-copy {
  width: 100%;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Mobile sticky CTA bar - visible only on small screens */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    gap: 0.75rem;
    background: rgba(26, 34, 44, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  }

  .mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    border: none;
  }

  .mobile-cta-bar .mobile-cta-btn:first-child {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: var(--shadow-ios);
  }

  .mobile-cta-bar .mobile-cta-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: var(--shadow-ios);
  }

  .mobile-cta-bar .mobile-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-ios-lg);
  }

  .mobile-cta-bar .mobile-cta-btn:active {
    transform: scale(0.98);
  }

  /* Add bottom padding so content isn't hidden behind sticky bar */
  body {
    padding-bottom: 80px;
  }
}

/* Responsive - tablet and mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header-ctas {
    display: none;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav.open a {
    padding: 0.875rem 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 85vh;
    padding: 5rem 0 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-area {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Gallery tabs - scroll horizontally on small screens for easy tap */
  .gallery-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Testimonial cards - readable on small screens */
  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .reviews-summary-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-detail-inner {
    grid-template-columns: 1fr;
  }

  /* Contact links - large tap targets */
  .contact-details a,
  .link-maps {
    display: inline-block;
    padding: 0.25rem 0;
    min-height: 44px;
    line-height: 1.4;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-links a {
    padding: 0.5rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

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