/* =========================================================================
   AMALGAMA EVENTOS — SERVICE LANDING PAGES
   Extends the main design system
   ========================================================================= */

/* === SERVICE HERO === */
.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--container-px) 80px;
  overflow: hidden;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.82) 0%, rgba(15, 15, 30, 0.88) 50%, rgba(26, 42, 46, 0.82) 100%);
  pointer-events: none;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.service-hero-content .hero-eyebrow {
  margin-bottom: 20px;
}

.service-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
}

.service-hero-content p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* === FEATURES SECTION === */
.service-features {
  padding: var(--section-py) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--t-smooth);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26,26,46,0.08);
  border-color: var(--copper);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px var(--copper-glow);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* === GALLERY STRIP === */
.gallery-strip {
  padding: 80px 0;
  background: var(--off-white);
  overflow: hidden;
}

.gallery-strip .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.gallery-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-row::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 300px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* === CTA BANNER === */
.cta-banner {
  padding: 100px var(--container-px);
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--copper-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, var(--emerald-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}

/* === SERVICE FORM === */
.service-form-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.service-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 48px;
  box-shadow: 0 8px 40px rgba(26,26,46,0.04);
}

.service-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.service-form .form-label {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.service-form .form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--t-fast);
}
.service-form .form-input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-glow);
}

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

.service-form .phone-input-wrap {
  display: flex;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  transition: var(--t-fast);
}
.service-form .phone-input-wrap:focus-within {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-glow);
}
.service-form .phone-input .form-input {
  border: none !important;
  box-shadow: none !important;
}

.service-form .form-submit {
  width: 100%;
  margin-top: 12px;
}

.service-form .input-error {
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: 6px;
}

.service-form .success-message {
  text-align: center;
  padding: 40px 0;
  display: none;
}
.service-form .success-message.visible {
  display: block;
}
.service-form .success-message svg {
  width: 64px;
  height: 64px;
  color: var(--emerald);
  margin-bottom: 16px;
}
.service-form .success-message h3 {
  margin-bottom: 12px;
}

/* === BACK LINK === */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  transition: var(--t-fast);
}
.back-link:hover {
  color: var(--white);
  gap: 12px;
}
.back-link svg { width: 16px; height: 16px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .service-hero { min-height: 60vh; padding: 120px 20px 60px; }
  .service-form-wrapper { padding: 32px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-item { flex: 0 0 260px; height: 180px; }
}
