/* =========================================================
   Fuminsectos del Llano — Page-Specific Styles
   Styles for inner pages: services, about, privacy
   ========================================================= */

/* =========================================================
   SERVICE DETAIL SECTION (shared pattern)
   ========================================================= */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail--alt {
  background-color: var(--color-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-grid--reverse {
  direction: rtl;
}

.service-detail-grid--reverse > * {
  direction: ltr;
}

/* Service Image */
.service-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  min-height: 300px;
  transition: transform var(--transition-slow);
}

.service-image-wrapper:hover {
  transform: scale(1.03);
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.service-image-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  background: var(--color-brand-orange);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

/* Service Content */
.service-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-content-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.1;
}

.service-content-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.service-content-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-content-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
}

.service-content-list-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand-orange);
  margin-top: 5px;
}

.service-content-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,100,39,0.08);
  border: 1px solid rgba(255,100,39,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-orange-dark);
}

.service-content-guarantee .guarantee-icon {
  font-size: 22px;
}

/* =========================================================
   COMPLEMENTARY SERVICES
   ========================================================= */
.complementary-section {
  padding: 80px 0;
  background: var(--color-dark);
}

.complementary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.complementary-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}

.complementary-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,100,39,0.3);
  transform: translateY(-4px);
}

.complementary-card-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  padding: 8px;
}

.complementary-card-body {}

.complementary-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.complementary-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* =========================================================
   EXTINGUISHER TYPES GRID
   ========================================================= */
.extinguisher-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.extinguisher-type-card {
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand-orange);
  transition: all var(--transition);
}

.extinguisher-type-card:hover {
  background: rgba(255,100,39,0.05);
  border-color: rgba(255,100,39,0.4);
}

.extinguisher-type-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-orange);
  margin-bottom: 4px;
}

.extinguisher-type-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.extinguisher-type-use {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 3px;
}

/* =========================================================
   SAFETY ITEMS LIST
   ========================================================= */
.safety-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.safety-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.safety-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(0,187,45,0.1);
  color: var(--color-whatsapp);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   LOCATION SECTION (inner pages)
   ========================================================= */
.location-section {
  padding: 80px 0;
  background: var(--color-bg);
}

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

.location-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.location-map-wrap iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}

.location-map-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-brand-orange);
}

.location-info-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.location-detail:last-child { margin-bottom: 0; }

.location-detail strong {
  color: var(--color-text);
  font-weight: 600;
  min-width: 60px;
  flex-shrink: 0;
}

/* =========================================================
   ABOUT PAGE — COMPANY SECTIONS
   ========================================================= */
.company-section {
  padding: 80px 0;
}

.company-section--alt {
  background-color: var(--color-bg);
}

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

.company-grid--reverse {
  direction: rtl;
}

.company-grid--reverse > * {
  direction: ltr;
}

.company-text-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.company-text-block p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.company-image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg);
  min-height: 320px;
  border: 1px solid var(--color-border);
}

.company-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.company-image-block:hover img {
  transform: scale(1.08);
}

/* =========================================================
   PRIVACY POLICY PAGE
   ========================================================= */
.privacy-page {
  padding: 80px 0 96px;
}

.privacy-content {
  max-width: 780px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-dark);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  position: relative;
}

.privacy-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-brand-orange);
}

.privacy-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.privacy-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.privacy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand-orange);
}

.privacy-content a {
  color: var(--color-brand-orange);
  font-weight: 500;
}

.privacy-content a:hover {
  text-decoration: underline;
}

.privacy-last-updated {
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--color-dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--color-brand-orange);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  font-weight: 500;
}

/* =========================================================
   BENEFITS GRID
   ========================================================= */
.benefits-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-brand-orange);
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-section {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-orange), rgba(255,100,39,0.2));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-brand-orange);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255,100,39,0.35);
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* =========================================================
   MID-PAGE CTA BANNER
   ========================================================= */
.mid-cta {
  background: linear-gradient(135deg, var(--color-brand-orange) 0%, var(--color-brand-orange-dark) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.mid-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.mid-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.1;
}

.mid-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-brand-orange-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--color-brand-orange); }

.faq-question-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,100,39,0.1);
  color: var(--color-brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* =========================================================
   RESPONSIVE — TABLET (max 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .service-detail-grid { gap: 40px; }
  .company-grid { gap: 40px; }
  .location-grid { gap: 32px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
}

/* =========================================================
   RESPONSIVE — MOBILE (max 768px)
   ========================================================= */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .service-detail { padding: 56px 0; }

  .service-detail-grid,
  .service-detail-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .company-grid,
  .company-grid--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

  .extinguisher-types { grid-template-columns: 1fr; }

  .safety-items-grid { grid-template-columns: 1fr; }
}
