/* ============================================================
   THE iPHONE COMPANY — CSS v1.0 (Pure WordPress)
   Fuente: SF Pro Display → Helvetica Neue → Inter
   Sin dependencias de Elementor ni Astra
   ============================================================ */

/* ── 1. VARIABLES ── */
:root {
  --tic-black:   #000;
  --tic-bg:      #0a0a0a;
  --tic-surface: #1c1c1e;
  --tic-surface-2:#2c2c2e;
  --tic-bg-alt:  #141414;
  --tic-white:   #f5f5f7;
  --tic-accent:  #c8ff00;
  --tic-acc-dk:  #a8e000;
  --tic-gray:    #86868b;
  --tic-gray-dk: #48484a;
  --tic-font-d:  'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', sans-serif;
  --tic-font-t:  'SF Pro Text',    -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Inter', sans-serif;
}

/* ── 2. BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--tic-bg);
  color: var(--tic-white);
  font-family: var(--tic-font-t);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── 3. LAYOUT HELPERS ── */
.tic-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
.tic-section       { padding: 96px 0; }
.tic-section--alt  { background: var(--tic-bg-alt); padding: 96px 0; }
.tic-glow {
  position: absolute; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,0,0.05) 0%, transparent 70%);
}
.tic-glow--right { top: -200px; right: -200px; }

/* ── 4. NAV ── */
.tic-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 52px;
  background: rgba(22,22,23,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255,255,255,0.16);
  transition: background 0.3s;
}
.tic-nav.scrolled { background: rgba(10,10,10,0.95); }
.tic-logo {
  font-family: var(--tic-font-d); font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--tic-white);
  text-decoration: none; flex-shrink: 0;
}
.tic-logo span { color: var(--tic-accent); }
.tic-nav-links { display: flex; gap: 28px; }
.tic-nav-links a {
  font-size: 13px; color: var(--tic-gray);
  text-decoration: none; transition: color 0.2s;
}
.tic-nav-links a:hover { color: var(--tic-white); }
.tic-btn-nav {
  background: var(--tic-accent); color: #000;
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; flex-shrink: 0;
  transition: opacity 0.2s;
}
.tic-btn-nav:hover { opacity: 0.85; color: #000; }
.tic-nav-mobile-cta { display: none; }

/* ── 5. BUTTONS ── */
.tic-btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.tic-btn-primary {
  background: var(--tic-accent); color: #000;
  padding: 13px 24px; border-radius: 24px; border: none;
  font-family: var(--tic-font-t); font-size: 14px; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; transition: opacity 0.2s, transform 0.15s;
  line-height: 1;
}
.tic-btn-primary:hover  { opacity: 0.85; transform: translateY(-1px); color: #000; }
.tic-btn-primary--full  { width: 100%; justify-content: center; margin-top: 20px; }
.tic-btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--tic-white);
  padding: 13px 24px; border-radius: 24px;
  border: 0.5px solid rgba(255,255,255,0.2);
  font-size: 14px; cursor: pointer; transition: background 0.2s;
  text-decoration: none; display: inline-flex; align-items: center;
  line-height: 1;
}
.tic-btn-ghost:hover { background: rgba(255,255,255,0.15); color: var(--tic-white); }
.tic-btn-dark {
  background: var(--tic-surface); color: var(--tic-white);
  padding: 13px 24px; border-radius: 24px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s; line-height: 1;
}
.tic-btn-dark:hover { opacity: 0.8; color: var(--tic-white); }

/* ── 6. HERO HOME ── */
.tic-hero-home {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.tic-hero-home__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding-top: 120px; padding-bottom: 80px;
}
.tic-hero-tag {
  display: inline-block;
  background: rgba(200,255,0,0.1); border: 0.5px solid rgba(200,255,0,0.3);
  color: var(--tic-accent); font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.tic-hero-h1 {
  font-family: var(--tic-font-d);
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.005em;
  color: var(--tic-white); margin: 0 0 20px;
}
.tic-hero-h1 .accent { color: var(--tic-accent); }
.tic-hero-home__subtitle {
  font-size: 17px; font-weight: 300; color: var(--tic-gray);
  line-height: 1.6; max-width: 440px; margin: 0 0 32px;
}
.tic-stats {
  display: flex; gap: 32px; margin-top: 40px;
  padding-top: 32px; border-top: 0.5px solid rgba(255,255,255,0.1);
}
.tic-stat-num {
  display: block; font-family: var(--tic-font-d);
  font-size: 32px; font-weight: 700; color: var(--tic-white);
  letter-spacing: -0.005em; line-height: 1;
}
.tic-stat-lbl { display: block; font-size: 12px; color: var(--tic-gray); margin-top: 4px; }

/* Hero visual column */
.tic-hero-home__visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tic-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--tic-surface); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 9px 14px;
}
.tic-badge--tl { align-self: flex-start; margin-left: 40px; }
.tic-badge--br { align-self: flex-end; margin-right: 40px; }
.tic-badge__icon { font-size: 13px; color: var(--tic-accent); line-height: 1; }
.tic-badge__text { font-size: 11px; line-height: 1.4; color: var(--tic-white); font-weight: 500; }

/* iPhone frame */
.tic-iphone-frame {
  width: 260px; height: 520px;
  background: var(--tic-surface);
  border-radius: 44px; border: 0.5px solid rgba(255,255,255,0.1);
  position: relative; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 40px 80px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
}
.tic-iphone-frame__notch {
  width: 90px; height: 28px; background: #000;
  border-radius: 0 0 18px 18px;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3;
}
.tic-iphone-frame__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;
}
.tic-iphone-frame__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.92) 100%);
}
.tic-iphone-frame__cracks {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
}
.tic-iphone-frame__text {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; padding: 52px 20px 28px;
}
.tic-iphone-frame__label {
  display: block; text-align: center;
  font-size: 10px; color: var(--tic-accent); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.tic-iphone-frame__title {
  display: block; text-align: center;
  font-size: 26px; font-weight: 800; color: var(--tic-white);
  line-height: 1.1; letter-spacing: -0.005em; font-family: var(--tic-font-d);
}
.tic-iphone-frame__domain {
  display: block; text-align: center; margin-top: auto;
  font-size: 10px; color: rgba(200,255,0,0.65); font-weight: 600;
}

/* ── 7. SECTION HEADERS ── */
.tic-section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}
.tic-section-header__note { font-size: 13px; color: var(--tic-gray-dk); }
.tic-label {
  display: block; font-size: 12px; font-weight: 500; color: var(--tic-accent);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px;
}
.tic-section-title {
  font-family: var(--tic-font-d); font-size: 48px; font-weight: 700;
  letter-spacing: -0.003em; line-height: 1.05; color: var(--tic-white); margin: 0;
}

/* ── 8. SERVICE CARDS ── */
.tic-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.tic-services-grid--3 { grid-template-columns: repeat(3, 1fr); }

.tic-service-card {
  background: var(--tic-bg); padding: 0 0 20px;
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: background 0.2s, transform 0.2s;
}
.tic-service-card:hover {
  background: var(--tic-surface); transform: translateY(-2px);
  color: inherit;
}
.tic-card-img {
  width: 100%; height: 150px;
  overflow: hidden; position: relative;
  background: var(--tic-surface);
}
.tic-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.5s ease;
}
.tic-service-card:hover .tic-card-img img { transform: scale(1.06); }
@keyframes kb {
  0%   { transform: scale(1.0)  translate(0,0);       }
  50%  { transform: scale(1.05) translate(-1%,-0.5%); }
  100% { transform: scale(1.0)  translate(0,0);       }
}
.tic-service-card.kb-on .tic-card-img img { animation: kb 9s ease-in-out infinite; }
.tic-card-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, var(--tic-bg) 0%, transparent 100%);
  pointer-events: none;
}
.tic-card-img-label {
  position: absolute; bottom: 8px; left: 12px;
  font-size: 9px; font-weight: 700; color: var(--tic-accent);
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0,0,0,0.55); padding: 3px 8px; border-radius: 20px;
  backdrop-filter: blur(6px); pointer-events: none;
}
.tic-card-body { padding: 16px 18px 0; }
.tic-service-num {
  display: block; font-size: 10px; font-weight: 600;
  color: var(--tic-gray-dk); letter-spacing: 0.04em; margin-bottom: 5px;
}
.tic-service-name {
  display: block; font-family: var(--tic-font-d); font-size: 15px;
  font-weight: 600; letter-spacing: -0.003em; color: var(--tic-white);
  margin: 0 0 7px; line-height: 1.25;
}
.tic-service-desc {
  display: block; font-size: 12px; color: var(--tic-gray);
  line-height: 1.5; margin: 0;
}
.tic-service-meta {
  display: flex; gap: 5px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}
.tic-pill {
  font-size: 10px; font-weight: 600;
  background: rgba(200,255,0,0.12); color: var(--tic-accent);
  padding: 3px 8px; border-radius: 20px;
}
.tic-pill-gray {
  font-size: 10px; font-weight: 500;
  background: rgba(255,255,255,0.07); color: var(--tic-gray);
  padding: 3px 8px; border-radius: 20px;
}
.tic-arrow {
  position: absolute; top: 14px; right: 14px;
  font-size: 14px; opacity: 0; color: var(--tic-accent);
  transform: translate(-3px, 3px);
  transition: all 0.2s; font-family: sans-serif;
}
.tic-service-card:hover .tic-arrow { opacity: 1; transform: translate(0,0); }

/* ── 9. WHY ── */
.tic-why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.tic-why-copy .tic-section-title { margin-bottom: 28px; }
.tic-why-items { margin-top: 8px; }
.tic-why-item {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08); align-items: flex-start;
}
.tic-why-item:last-child { border-bottom: none; }
.tic-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: rgba(200,255,0,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--tic-accent); margin-top: 2px;
}
.tic-why-item strong {
  display: block; font-family: var(--tic-font-d); font-size: 15px;
  font-weight: 600; color: var(--tic-white); margin-bottom: 3px;
  letter-spacing: -0.003em;
}
.tic-why-item span { font-size: 14px; color: var(--tic-gray); line-height: 1.5; display: block; }
.tic-reviews-panel {
  background: var(--tic-surface); border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 32px;
}
.tic-review-card {
  background: var(--tic-bg-alt); border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 18px; margin-bottom: 10px;
}
.tic-review-stars { display: block; color: var(--tic-accent); font-size: 12px; letter-spacing: 1px; margin-bottom: 7px; }
.tic-review-text  { display: block; font-size: 14px; color: var(--tic-gray); line-height: 1.55; margin-bottom: 10px; }
.tic-review-author{ display: block; font-size: 12px; font-weight: 500; color: var(--tic-white); }
.tic-guarantee {
  background: rgba(200,255,0,0.06); border: 0.5px solid rgba(200,255,0,0.2);
  border-radius: 12px; padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; margin-top: 14px;
  font-size: 13px; color: var(--tic-accent); font-weight: 500;
}
.tic-guarantee-icon { font-size: 20px; flex-shrink: 0; }

/* ── 10. PRICES ── */
.tic-pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
}
.tic-price-card { background: var(--tic-bg); padding: 28px 24px; }
.tic-price-card--featured { background: var(--tic-accent); }
.tic-price-service { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--tic-gray); margin-bottom: 12px; }
.tic-price-card--featured .tic-price-service { color: rgba(0,0,0,0.5); }
.tic-price-amount { display: block; font-family: var(--tic-font-d); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--tic-white); margin-bottom: 5px; }
.tic-price-card--featured .tic-price-amount { color: #000; }
.tic-price-from { display: block; font-size: 12px; color: var(--tic-gray); }
.tic-price-card--featured .tic-price-from { color: rgba(0,0,0,0.45); }
.tic-price-time { display: block; margin-top: 14px; padding-top: 14px; border-top: 0.5px solid rgba(255,255,255,0.08); font-size: 12px; color: var(--tic-gray); }
.tic-price-card--featured .tic-price-time { border-color: rgba(0,0,0,0.1); color: rgba(0,0,0,0.5); }

/* ── 11. CTA ── */
.tic-cta {
  background: var(--tic-accent); border-radius: 24px; padding: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.tic-cta-title {
  font-family: var(--tic-font-d); font-size: 44px; font-weight: 800;
  color: #000; letter-spacing: -0.005em; line-height: 1.0; max-width: 440px; margin: 0;
}
.tic-cta-right { text-align: right; flex-shrink: 0; }
.tic-cta-right p { font-size: 14px; color: rgba(0,0,0,0.5); margin: 0 0 18px; }

/* ── 12. WHATSAPP FLOAT ── */
.tic-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  background: #25d366; width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; animation: tic-pulse 3s infinite; transition: transform 0.2s;
}
.tic-wa:hover { transform: scale(1.08); }
@keyframes tic-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,0.72); }
}

/* ── 13. FOOTER ── */
.tic-footer-wrap { background: var(--tic-bg); }
.tic-footer {
  padding: 44px 0 28px; border-top: 0.5px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.tic-footer-logo { font-family: var(--tic-font-d); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.tic-footer-logo span { color: var(--tic-accent); }
.tic-footer p { font-size: 12px; color: var(--tic-gray-dk); margin: 0; }

/* ── 14. HERO SERVICE ── */
.tic-hero-service {
  min-height: 65vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--tic-bg);
}
.tic-hero-service__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding-top: 120px; padding-bottom: 80px;
}
.tic-hero-service__desc {
  font-size: 17px; font-weight: 300; color: var(--tic-gray);
  line-height: 1.6; max-width: 440px; margin: 0 0 32px;
}
.tic-hero-service__visual {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.tic-service-frame {
  width: 220px; height: 400px;
  background: var(--tic-surface); border-radius: 36px;
  border: 0.5px solid rgba(255,255,255,0.1);
  position: relative; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}
.tic-service-frame__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;
}
.tic-service-frame__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.6) 100%);
}

/* ── 15. INFO SECTION ── */
.tic-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.tic-info-intro { font-size: 16px; color: var(--tic-gray); line-height: 1.6; margin: 0 0 24px; }
.tic-bullets { list-style: none; padding: 0; margin: 0; }
.tic-bullets li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0; border-bottom: 0.5px solid rgba(255,255,255,0.07);
  font-size: 15px; color: var(--tic-gray); line-height: 1.55;
}
.tic-bullets li:last-child { border-bottom: none; }
.tic-bullet-check { color: var(--tic-accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.tic-summary-card {
  background: var(--tic-surface); border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 32px;
}
.tic-summary-rows { margin-top: 4px; }
.tic-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.tic-summary-row--block { flex-direction: column; align-items: flex-start; gap: 6px; }
.tic-summary-row:last-child { border-bottom: none; }
.tic-summary-label { font-size: 13px; color: var(--tic-gray); }
.tic-summary-value { font-size: 14px; font-weight: 500; color: var(--tic-white); }
.tic-summary-value--big { font-family: var(--tic-font-d); font-size: 20px; font-weight: 700; }
.tic-summary-value--accent { color: var(--tic-accent); font-weight: 600; }
.tic-summary-value--muted { font-size: 13px; color: var(--tic-gray-dk); line-height: 1.5; }

/* ── 16. FAQS ── */
.tic-faqs-wrap { max-width: 740px; margin: 0 auto; }
.tic-faqs { margin-top: 8px; }
.tic-faq-item { border-bottom: 0.5px solid rgba(255,255,255,0.07); padding: 22px 0; }
.tic-faq-q { font-family: var(--tic-font-d); font-size: 16px; font-weight: 600; color: var(--tic-white); margin-bottom: 9px; letter-spacing: -0.003em; }
.tic-faq-a { font-size: 15px; color: var(--tic-gray); line-height: 1.6; }

/* ── 17. FADE-IN ANIMATION ── */
.tic-fade { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.tic-fade.visible { opacity: 1; transform: none; }

/* ── 18. RESPONSIVE ── */
@media (max-width: 1280px) {
  .tic-services-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .tic-services-grid { grid-template-columns: repeat(3, 1fr); }
  .tic-pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .tic-wrap { padding: 0 40px; }
}
@media (max-width: 768px) {
  .tic-wrap { padding: 0 20px; }
  .tic-nav-links, .tic-btn-nav { display: none; }
  .tic-nav-mobile-cta {
    display: inline-block;
    background: var(--tic-accent); color: #000;
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    text-decoration: none; white-space: nowrap; flex-shrink: 0;
  }
  .tic-hero-home__inner, .tic-hero-service__inner,
  .tic-why-grid, .tic-info-grid { grid-template-columns: 1fr; }
  .tic-iphone-frame, .tic-hero-home__visual { display: none; }
  .tic-hero-service__visual { display: none; }
  .tic-services-grid { grid-template-columns: repeat(2, 1fr); }
  .tic-services-grid--3 { grid-template-columns: 1fr; }
  .tic-pricing-grid  { grid-template-columns: 1fr; }
  .tic-cta { flex-direction: column; padding: 36px 22px; }
  .tic-cta-title { font-size: 32px; }
  .tic-cta-right { text-align: left; }
  .tic-section-title { font-size: 32px; }
  .tic-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tic-footer { flex-direction: column; text-align: center; }
  .tic-stats { gap: 20px; flex-wrap: wrap; }
  .tic-badge--tl, .tic-badge--br { display: none; }
}
@media (max-width: 480px) {
  .tic-services-grid { grid-template-columns: 1fr; }
  .tic-hero-h1 { font-size: 44px; }
}

/* ── 19. VIDEO HTML5 ── */
/*
 * .tic-media-video cubre exactamente el mismo espacio que <img>
 * object-fit:cover para que el video llene el frame sin barras negras.
 * opacity:0 hasta que el JS activa la carga (.video-ready).
 */
.tic-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Empieza invisible — el poster se ve mientras carga */
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  inset: 0;
}
.tic-media-video.video-ready {
  opacity: 1;
}
/* Asegura que el contenedor sea relative para posicionar el video */
.tic-card-img,
.tic-service-frame {
  position: relative;
}
/* El poster del video actúa como background del contenedor */
.tic-card-img.has-video,
.tic-service-frame.has-video {
  background-size: cover;
  background-position: center;
}

/* ── 20. REDES SOCIALES ── */
.tic-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tic-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--tic-gray);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.tic-social__link:hover {
  background: var(--tic-accent);
  color: #000;
  transform: translateY(-2px);
}
/* Footer layout actualizado para incluir social */
.tic-footer {
  align-items: flex-start;
}
.tic-footer-left { flex: 1; }
.tic-footer-right {
  display: flex;
  align-items: center;
  padding-top: 4px;
}
@media (max-width: 768px) {
  .tic-footer { flex-direction: column; align-items: center; text-align: center; }
  .tic-footer-right { justify-content: center; }
}

/* ── 21. GOOGLE BADGE DE RESEÑAS ── */
.tic-google-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--tic-surface);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 480px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.tic-google-badge__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.tic-google-badge__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.tic-google-badge__rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.tic-google-badge__rating strong {
  font-family: var(--tic-font-d);
  font-size: 28px;
  font-weight: 700;
  color: var(--tic-white);
  letter-spacing: -0.003em;
}
.tic-google-badge__rating span {
  font-size: 13px;
  color: var(--tic-gray);
}
.tic-google-badge__link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--tic-accent);
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.tic-google-badge__link:hover { opacity: 0.75; color: var(--tic-accent); }

.tic-reviews-embed {
  margin-top: 32px;
  /* El widget de Elfsight se centra automáticamente */
}

/* ── 22. GOOGLE MAPS ── */
.tic-maps-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tic-maps-sub {
  font-size: 15px;
  color: var(--tic-gray);
  margin: 8px 0 0;
}
.tic-maps-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.tic-maps-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--tic-gray);
}
.tic-maps-info-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.tic-map-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.1);
  /* Aspect ratio 16:6 — suficiente para ver el mapa sin ocupar toda la pantalla */
  aspect-ratio: 16 / 6;
  background: var(--tic-surface);
}
.tic-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  /* Google Maps tiene fondo claro — el border-radius del wrapper lo contiene */
  filter: grayscale(15%) contrast(1.05);
}
@media (max-width: 768px) {
  .tic-maps-header { flex-direction: column; }
  .tic-map-wrap { aspect-ratio: 4 / 3; }
}

/* ── 23. FIXES HERO ── */

/* Visual column: flex column con TODOS los elementos centrados horizontalmente */
.tic-hero-home__visual {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centra todo: badges + frame */
  gap: 14px;
}

/* Badges del hero: ancho máximo igual al iPhone, alineados al centro */
.tic-hero-badge-top,
.tic-hero-badge-bottom {
  /* Mismo ancho que .tic-iphone-frame para que queden centrados */
  width: 260px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tic-surface);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 9px 14px;
}

/* Badge TL/BR anteriores: ocultar (reemplazados por los nuevos) */
.tic-badge--tl,
.tic-badge--br {
  display: none;
}

/* Estado sin media: gradiente oscuro en el frame (sin el SVG feo) */
.tic-iphone-frame.no-media .tic-iphone-frame__no-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 100%);
}

/* Video dentro del iPhone: mismo comportamiento que imágenes */
.tic-iphone-frame video.tic-iphone-frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tic-iphone-frame video.tic-iphone-frame__img.video-ready {
  opacity: 1;
}
/* Cuando hay video/foto, no mostrar el SVG de grietas */
.tic-iphone-frame.has-media .tic-iphone-frame__cracks {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .tic-hero-badge-top,
  .tic-hero-badge-bottom {
    width: 100%;
    max-width: 260px;
  }
}
