/* ================================================================
   Fertility Argentina — Custom CSS (Flatsome child theme)
   Design tokens + shortcode component styles
   ================================================================ */

/* ── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --fa-navy:        #2C3A4A;
  --fa-navy-mid:    #3D4F63;
  --fa-coral:       #C97B6E;
  --fa-coral-dark:  #b5685c;
  --fa-blue:        #4996f8;
  --fa-beige:       #F5EFE6;
  --fa-beige-light: #FAF7F3;
  --fa-beige-dark:  #E8DDD0;
  --fa-text-light:  #5A6672;
  --fa-text-muted:  #6B7A89;
  --fa-radius:      12px;
  --fa-radius-sm:   8px;
}

/* ── GLOBAL TYPOGRAPHY ──────────────────────────────────────────── */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--fa-navy);
}

h1, h2, h3, h4, h5,
.is-title h1, .is-title h2, .is-title h3, .is-title h4,
.entry-title, .page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--fa-navy);
  font-weight: 500;
  line-height: 1.2;
}

/* Flatsome title shortcode */
.is-title { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── BUTTONS ────────────────────────────────────────────────────── */
.button, .ux-btn, a.button {
  border-radius: 100px !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all .22s;
}

/* Primary button (coral) */
.button.primary, .ux-btn.primary,
.button[style*="C97B6E"], .ux-btn[style*="C97B6E"] {
  background: var(--fa-coral);
  border-color: var(--fa-coral);
  color: #fff;
}
.button.primary:hover, .ux-btn.primary:hover {
  background: var(--fa-coral-dark);
  border-color: var(--fa-coral-dark);
  transform: translateY(-1px);
}

/* ── HEADER ES LINK ─────────────────────────────────────────────── */
.fa-lang-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--fa-blue);
  opacity: 0.75;
  text-decoration: none;
  margin-left: 12px;
  transition: opacity .2s;
}
.fa-lang-link:hover { opacity: 1; }

/* ── SECTION BACKGROUND HELPERS ─────────────────────────────────── */
/* Used as class="" param on [section] shortcode */
.fa-bg-beige  { background-color: var(--fa-beige-light) !important; }
.fa-bg-navy   { background-color: var(--fa-navy) !important; color: #fff; }
.fa-bg-beige2 { background-color: var(--fa-beige) !important; }

/* ── LABEL UTILITY ──────────────────────────────────────────────── */
.fa-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fa-blue);
  margin-bottom: 12px;
}

/* ── STATS STRIP ────────────────────────────────────────────────── */
.fa-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--fa-beige-dark);
  padding-top: 28px;
  margin-top: 36px;
}
.fa-stat {
  padding: 6px 24px 6px 0;
  margin-right: 24px;
  border-right: 1px solid var(--fa-beige-dark);
  flex-shrink: 0;
}
.fa-stat:last-child { border-right: none; margin-right: 0; }
.fa-stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--fa-navy);
  line-height: 1;
}
.fa-stat__label {
  font-size: 0.7rem;
  color: var(--fa-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── SERVICE CARDS (5-column grid) ─────────────────────────────── */
.fa-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.fa-service-card {
  background: #fff;
  border: 1px solid var(--fa-beige-dark);
  border-radius: var(--fa-radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.fa-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(44,58,74,.12);
  border-color: var(--fa-blue);
}
.fa-service-card__img {
  height: 160px;
  overflow: hidden;
  background: var(--fa-beige);
}
.fa-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fa-service-card:hover .fa-service-card__img img { transform: scale(1.06); }
.fa-service-card__body { padding: 20px; flex: 1; }
.fa-service-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fa-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.fa-service-card__desc {
  font-size: 0.8rem;
  color: var(--fa-text-muted);
  line-height: 1.6;
}
@media (max-width: 1024px) { .fa-services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .fa-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .fa-services-grid { grid-template-columns: 1fr; } }

/* ── CARE APPROACH ICONS ────────────────────────────────────────── */
.fa-care-icon {
  width: 48px;
  height: 48px;
  background: var(--fa-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--fa-coral);
}
.fa-care-icon svg { width: 24px; height: 24px; }

/* ── TESTIMONIAL shortcode output ──────────────────────────────── */
.fa-testi {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--fa-beige-dark);
  border-radius: var(--fa-radius);
  padding: 28px;
  height: 100%;
}
.fa-testi__photo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.fa-testi__body  { display: flex; flex-direction: column; gap: 6px; }
.fa-testi__stars { display: flex; gap: 2px; margin-bottom: 4px; }
.fa-star--on  { color: #f5a623; font-size: 16px; }
.fa-star--off { color: #ddd;    font-size: 16px; }
.fa-testi__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--fa-text-light);
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
  flex: 1;
}
.fa-testi__name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fa-navy);
}
.fa-testi__subtitle {
  font-size: 0.76rem;
  color: var(--fa-text-muted);
}

/* ── RATES SECTION ──────────────────────────────────────────────── */
.fa-rate-card {
  background: #fff;
  border: 1px solid var(--fa-beige-dark);
  border-radius: var(--fa-radius);
  padding: 32px;
  text-align: center;
}
.fa-rate-card--featured {
  border-color: var(--fa-coral);
  border-width: 2px;
}
.fa-rate-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--fa-coral);
  line-height: 1;
  margin-bottom: 6px;
}
.fa-rate-label {
  font-size: 0.8rem;
  color: var(--fa-text-muted);
  margin-bottom: 20px;
}
.fa-rate-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.84rem;
  color: var(--fa-text-light);
  line-height: 1.8;
}
.fa-rate-list li::before { content: "✓  "; color: var(--fa-coral); font-weight: 700; }

/* ── ABOUT SECTION STATS ────────────────────────────────────────── */
.fa-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.fa-about-stat {
  background: var(--fa-beige-light);
  border-radius: var(--fa-radius-sm);
  padding: 14px 10px;
  text-align: center;
}
.fa-about-stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fa-navy);
  line-height: 1;
}
.fa-about-stat__label {
  font-size: 0.7rem;
  color: var(--fa-text-muted);
  margin-top: 4px;
  line-height: 1.35;
}
@media (max-width: 640px) { .fa-about-stats { grid-template-columns: repeat(2,1fr); } }

/* ── CF7 FORM STYLES ────────────────────────────────────────────── */
.wpcf7-form .wpcf7-form-control-wrap,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  border: 1.5px solid var(--fa-beige-dark);
  border-radius: var(--fa-radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--fa-navy);
  background: #fff;
  transition: border-color .2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--fa-blue);
  outline: none;
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
  background: var(--fa-coral);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 13px 32px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.wpcf7-form .wpcf7-submit:hover {
  background: var(--fa-coral-dark);
  transform: translateY(-1px);
}
.wpcf7-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fa-text-light);
  margin-bottom: 6px;
  margin-top: 16px;
}
.wpcf7-form label:first-child { margin-top: 0; }
.wpcf7-not-valid-tip { color: var(--fa-coral); font-size: 0.75rem; margin-top: 4px; }

/* ── FOOTER BLOCK ───────────────────────────────────────────────── */
.fa-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
}
.fa-footer-brand {}
.fa-footer-logo { height: 44px; margin-bottom: 16px; }
.fa-footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,.6); line-height: 1.6; max-width: 260px; }
.fa-footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.fa-footer-links { list-style: none; padding: 0; margin: 0; }
.fa-footer-links li { margin-bottom: 10px; }
.fa-footer-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}
.fa-footer-links a:hover { color: #fff; }
.fa-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  font-size: 0.76rem;
  color: rgba(255,255,255,.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .fa-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fa-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .fa-footer-grid { grid-template-columns: 1fr; }
}
