/* ==========================================================================
   CALISTECH V3 — PAGE SPECIFIC & ADDITIONAL STYLES
   ========================================================================= */

/* --- PAGE HERO (Common for news, contact, and sitemap pages) --- */
.v3-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 70%, #0c1838 100%);
  padding: 60px 0 48px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.v3-page-hero::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='%23005dff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.v3-page-hero-inner {
  position: relative;
  z-index: 2;
}
.v3-page-hero h1 {
  font-family: var(--font-headings);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.v3-page-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}
.v3-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.v3-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}
.v3-breadcrumb a:hover {
  color: var(--accent-cyan);
}
.v3-breadcrumb .active {
  color: var(--accent-cyan);
}
.v3-breadcrumb span {
  font-size: 9px;
  opacity: 0.5;
}

/* --- CONTACT PAGE --- */
.v3-contacto-page {
  background: var(--bg-light);
  padding: 80px 0;
}
.v3-contacto-page-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.v3-contact-info-card {
  background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.v3-contact-info-card h2 {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 10px;
  margin-bottom: -10px;
}
.v3-contact-info-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.v3-contact-info-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.v3-contact-info-line svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.v3-contact-info-line-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v3-contact-info-line-text strong {
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
}
.v3-contact-info-line-text span, .v3-contact-info-line-text a {
  font-size: 15px;
  font-weight: 500;
}
.v3-contact-info-line-text a:hover {
  color: var(--accent-cyan);
}
.v3-contact-form-card {
  background: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.v3-contact-form-card h2 {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary-navy);
  margin-bottom: 24px;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 10px;
  display: inline-block;
}
.v3-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
}
.v3-form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .v3-contacto-page-inner {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ SECTION --- */
.v3-faq-section {
  background: #ffffff;
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}
.v3-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v3-faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.v3-faq-item:hover {
  border-color: rgba(0, 93, 255, 0.25);
  box-shadow: var(--shadow-sm);
}
.v3-faq-q {
  padding: 18px 24px;
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-light);
}
.v3-faq-q svg {
  width: 12px;
  height: 12px;
  color: var(--accent-blue);
  transition: transform 0.3s;
}
.v3-faq-a {
  padding: 0 24px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  transition: max-height 0.3s ease-out, padding 0.3s, opacity 0.3s;
}
.v3-faq-item.open .v3-faq-a {
  padding: 18px 24px;
  max-height: 200px;
  opacity: 1;
  border-top: 1px solid var(--border-light);
}
.v3-faq-item.open .v3-faq-q svg {
  transform: rotate(180deg);
}

/* --- SERVICES LIST PAGE (servicos/index.html) --- */
.svc-page-section {
  background: var(--bg-light);
  padding: 80px 0;
}
.svc-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}
.svc-page-card {
  background: var(--bg-card-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}
.svc-page-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 93, 255, 0.2);
}
.svc-page-card-img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.svc-page-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-page-card-body h3 {
  font-family: var(--font-headings);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--secondary-navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-page-card-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.svc-page-card-btn {
  align-self: flex-start;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.svc-page-card-btn:hover {
  background: #004ecc;
}

.svc-page-cta {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid rgba(255,255,255,0.05);
}
.svc-page-cta-text {
  flex: 1;
}
.svc-page-cta-text h2 {
  font-family: var(--font-headings);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.svc-page-cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.svc-page-cta-btns {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.btn-contacto {
  display: inline-block;
  background: var(--accent-blue);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.btn-contacto:hover {
  background: #004ecc;
}

@media (max-width: 900px) {
  .svc-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-page-cta {
    flex-direction: column;
    text-align: center;
  }
  .svc-page-cta-btns {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .svc-page-grid {
    grid-template-columns: 1fr;
  }
  .svc-page-cta-btns {
    flex-direction: column;
    width: 100%;
  }
}

/* --- NOTICIAS PAGE --- */
.v3-noticias-page {
  background: var(--bg-light);
  padding: 80px 0;
}
.v3-noticias-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .v3-noticias-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .v3-noticias-page-grid {
    grid-template-columns: 1fr;
  }
}
