
:root {
  --ihp-primary: #0b5fff;
  --ihp-primary-dark: #0a4fd6;
  --ihp-primary-tint: #f0f5ff;
  --ihp-whatsapp: #22a559;
  --ihp-whatsapp-tint: #e8f9ef;
  --ihp-ink: #101828;
  --ihp-muted: #667085;
  --ihp-border: #e6eaf2;
  --ihp-success-bg: #eafaf1;
  --ihp-success-text: #1a8a52;
  --ihp-error-bg: #fdecec;
  --ihp-error-text: #c62d2d;
  --ihp-radius-lg: 24px;
  --ihp-radius-md: 16px;
  --ihp-radius-sm: 12px;
  --ihp-shadow-soft: 0 8px 30px rgba(11, 95, 255, 0.08);
  --ihp-shadow-card: 0 4px 18px rgba(16, 24, 40, 0.05);
}

/* ---------- Scroll-in animation (shared hook) ---------- */
.fade-up-el {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up-el.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up-el {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 1. Hero ---------- */
.ihp-contact-hero {
  padding: 96px 0 56px;
  background: linear-gradient(180deg, var(--ihp-primary-tint) 0%, #ffffff 100%);
}
.ihp-contact-hero .badge-outline-light {
  border: 1px solid var(--ihp-primary);
  color: var(--ihp-primary);
  font-size: 0.85rem;
  background: #fff;
}
.ihp-hero-heading {
  max-width: 850px;
  letter-spacing: -0.02em;
}
.ihp-hero-sub {
  max-width: 700px;
}

.ihp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--ihp-border);
  border-radius: 999px;
  box-shadow: var(--ihp-shadow-card);
}
.ihp-trust-avatars {
  display: flex;
}
.ihp-trust-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -12px;
}
.ihp-trust-avatars img:first-child {
  margin-left: 0;
}
.ihp-trust-more {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -12px;
  background: #eef1f6;
  color: var(--ihp-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.ihp-trust-text {
  text-align: left;
  font-size: 0.88rem;
  color: var(--ihp-ink);
}
.ihp-trust-stars {
  color: #fbbf24;
  font-size: 0.7rem;
  margin-bottom: 2px;
}
.ihp-trust-text strong {
  font-weight: 800;
}

/* ---------- 2. Contact method cards ---------- */
.ihp-method-section {
  padding: 12px 0 64px;
}
.ihp-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .ihp-method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .ihp-method-grid { grid-template-columns: 1fr; }
}

.ihp-method-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ihp-border);
  border-radius: var(--ihp-radius-md);
  box-shadow: var(--ihp-shadow-card);
  padding: 32px 28px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ihp-method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ihp-shadow-soft);
  text-decoration: none;
}
.ihp-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
}
.ihp-icon-primary {
  background: var(--ihp-primary-tint);
  color: var(--ihp-primary);
}
.ihp-icon-whatsapp {
  background: var(--ihp-whatsapp-tint);
  color: var(--ihp-whatsapp);
}
.ihp-method-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ihp-ink);
  margin-bottom: 8px;
}
.ihp-method-card p {
  font-size: 0.9rem;
  color: var(--ihp-muted);
  margin-bottom: 20px;
  min-height: 42px;
}
.ihp-method-link {
  font-weight: 700;
  color: var(--ihp-primary);
  font-size: 0.92rem;
}
.ihp-method-link i {
  margin-left: 6px;
  font-size: 0.8rem;
}
.ihp-link-whatsapp {
  color: var(--ihp-whatsapp);
}

/* ---------- 3. Contact info + form ---------- */
.ih-contact {
  padding: 40px 0 96px;
}

.ih-contact-info {
  background: var(--ihp-primary-tint);
  border: 1px solid #dce6fb;
  border-radius: var(--ihp-radius-lg);
  padding: 40px;
  height: 100%;
  position: sticky;
  top: 24px;
}

/* Region toggle */
.ihp-region-toggle {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
}
.ihp-region-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ihp-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.ihp-region-btn.is-active {
  background: var(--ihp-primary);
  color: #fff;
}
.ihp-region-btn:hover:not(.is-active) {
  color: var(--ihp-ink);
}

.ih-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.ih-info-item:last-of-type {
  margin-bottom: 32px;
}
.ih-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ihp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
}
.ih-info-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ihp-ink);
  margin-bottom: 4px;
}
.ih-info-item p {
  font-size: 0.88rem;
  color: var(--ihp-muted);
  margin-bottom: 2px;
}
.ih-info-value {
  font-weight: 700;
  color: var(--ihp-ink);
  margin-top: 6px !important;
}
.ih-info-value a {
  color: var(--ihp-primary);
  text-decoration: none;
}
.ih-info-value a:hover {
  text-decoration: underline;
}

.ih-social-row {
  display: flex;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid #dce6fb;
}
.ih-social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ihp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease, color 0.2s ease;
}
.ih-social-row a:hover {
  background: var(--ihp-primary);
  color: #fff;
}

.ih-form-card {
  background: #fff;
  border: 1px solid var(--ihp-border);
  border-radius: var(--ihp-radius-lg);
  box-shadow: var(--ihp-shadow-soft);
  padding: 44px;
  height: 100%;
}
.ih-form-card h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ihp-ink);
  line-height: 1.25;
  margin-bottom: 28px;
}
.ih-form-card h3 i {
  color: var(--ihp-primary);
  margin-left: 8px;
}

.ih-input {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid var(--ihp-border);
  border-radius: var(--ihp-radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ihp-ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ih-input::placeholder {
  color: #9aa4b2;
}
.ih-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--ihp-primary);
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.12);
}
.ih-select.ih-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667085' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  color: var(--ihp-ink);
}
.ih-select.ih-input:invalid {
  color: #9aa4b2;
}

.ih-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--ihp-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ih-submit-btn:hover {
  background: var(--ihp-primary-dark);
  transform: translateY(-2px);
}
.ih-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.ih-form-note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--ihp-muted);
}
.ih-form-note a {
  color: var(--ihp-primary);
  font-weight: 700;
  text-decoration: none;
}
.ih-form-note a:hover {
  text-decoration: underline;
}

.ih-form-success,
.ih-form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.ih-form-success.is-active {
  display: block;
  background: var(--ihp-success-bg);
  color: var(--ihp-success-text);
}
.ih-form-error.is-active {
  display: block;
  background: var(--ihp-error-bg);
  color: var(--ihp-error-text);
}

/* intl-tel-input alignment fix inside .ih-input layout */
.iti {
  width: 100%;
}

@media (max-width: 991px) {
  .ih-contact-info { position: static; margin-bottom: 8px; }
  .ih-form-card { padding: 32px 24px; }
}

/* ---------- 4. Quick links ---------- */
.ihp-quicklinks-section {
  padding: 0 0 72px;
}
.ihp-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 576px) {
  .ihp-quicklinks-grid { grid-template-columns: repeat(1, 1fr); }
}
.ihp-quicklink-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 16px;
  background: #f7f9fc;
  border-radius: var(--ihp-radius-md);
  text-decoration: none;
  color: var(--ihp-ink);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.ihp-quicklink-tile i {
  font-size: 1.3rem;
  color: #a3a3a3;
  transition: color 0.2s ease;
}
.ihp-quicklink-tile:hover {
  background: var(--ihp-primary-tint);
  color: var(--ihp-primary);
  text-decoration: none;
}
.ihp-quicklink-tile:hover i {
  color: var(--ihp-primary);
}

/* ---------- 5. What to expect ---------- */
.ihp-expect-section {
  padding: 72px 0;
  background: #f8fafc;
}
.ihp-expect-card {
  background: #fff;
  border-radius: var(--ihp-radius-md);
  padding: 32px;
  height: 100%;
  border: 1px solid var(--ihp-border);
}
.ihp-expect-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ihp-primary-tint);
  color: var(--ihp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.2rem;
}
.ihp-expect-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ihp-ink);
}
.ihp-expect-desc {
  color: var(--ihp-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- 6. Trust / stats ---------- */
.ihp-stat-number {
  color: var(--ihp-primary);
}

/* ---------- 7. FAQ ---------- */
.ihp-faq-section {
  padding: 80px 0;
}
.ihp-eyebrow {
  display: inline-block;
  color: var(--ihp-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.ihp-faq-list {
  max-width: 780px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ihp-faq-item {
  background: #fff;
  border: 1px solid var(--ihp-border);
  border-radius: var(--ihp-radius-md);
  padding: 4px;
}
.ihp-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ihp-ink);
}
.ihp-faq-item summary::-webkit-details-marker {
  display: none;
}
.ihp-faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ihp-primary-tint);
  color: var(--ihp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}
.ihp-faq-item[open] .ihp-faq-toggle {
  transform: rotate(45deg);
}
.ihp-faq-answer {
  padding: 0 24px 22px;
  color: var(--ihp-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.ihp-faq-answer p {
  margin: 0;
}

/* ---------- 8. Closing CTA ---------- */
.ihp-cta-section {
  padding: 20px 0 96px;
}
.ihp-cta-banner {
  background: linear-gradient(120deg, var(--ihp-primary) 0%, #003fc9 100%);
  border-radius: var(--ihp-radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 45px rgba(11, 95, 255, 0.25);
}
.ihp-cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.ihp-cta-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 32px;
}
.ihp-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.ihp-cta-btn-primary,
.ihp-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.ihp-cta-btn-primary {
  background: #fff;
  color: var(--ihp-primary);
}
.ihp-cta-btn-primary:hover {
  transform: translateY(-2px);
  color: var(--ihp-primary-dark);
}
.ihp-cta-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.ihp-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 576px) {
  .ihp-cta-banner { padding: 44px 24px; }
  .ihp-cta-banner h2 { font-size: 1.8rem; }
  .ihp-cta-buttons { flex-direction: column; width: 100%; }
  .ihp-cta-btn-primary, .ihp-cta-btn-secondary { width: 100%; justify-content: center; }
}

/* ---------- Focus visibility (accessibility floor) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ihp-primary);
  outline-offset: 2px;
}