:root {
    --gd-teal: #006b73;       /* contraste AAA sobre blanco */
    --gd-teal-btn: #005a61;   /* botón primario: ratio 7:1+ sobre blanco */
    --gd-black: #111111;
    --gd-gray: #f5f7f8;
    --gd-hover: #004d54;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    color: var(--gd-black);
    background: white;
    scroll-behavior: smooth;
}

/* ── Botones: mínimo 44×44 px para objetivos táctiles ── */
.gd-btn-primary {
    background: var(--gd-teal-btn);
    color: white;
    transition: .2s;
    border-radius: 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gd-btn-primary:hover  { background: var(--gd-hover); }
.gd-btn-primary:focus-visible { outline: 3px solid #005a61; outline-offset: 2px; }

.gd-btn-outline {
    border: 2px solid var(--gd-black);
    color: var(--gd-black);
    transition: .2s;
    border-radius: 2px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gd-btn-outline:hover  { background: var(--gd-black); color: white; }
.gd-btn-outline:focus-visible { outline: 3px solid #111111; outline-offset: 2px; }

/* ── Cards de precios ── */
.pricing-card { border: 1px solid #e8eaeb; transition: .2s; }
.pricing-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* ── Hero ── */
.hero-section { border-bottom: 1px solid #e8eaeb; min-height: 500px; }

/* Home domain finder above a responsive extension grid. */
.home-domains { background: #f0f8f9; border-bottom: 1px solid #d4e6e8; padding: 22px clamp(16px, 2.5vw, 48px); }
.home-domains-inner { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.home-domains-search { width: 100%; min-width: 0; text-align: left; }
.home-domains-search h2 { color: #005a61; font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.home-domain-form { display: flex; width: 100%; padding: 6px; background: white; border: 1px solid #c6dfe2; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,90,97,.04); }
.home-domain-form input { min-width: 0; flex: 1; width: 100%; padding: 10px 14px; background: transparent; font-size: 16px; }
.home-domain-form button { display: flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; background: #005a61; color: white; border-radius: 5px; padding: 10px 24px; font-weight: 700; min-height: 44px; }
.home-domain-form button:hover { background: #00434a; }
.home-domains-all { display: inline-block; margin-top: 12px; font-size: 13px; color: #005a61; text-decoration: underline; text-underline-offset: 3px; }
.home-domain-list { display: grid; grid-template-columns: repeat(var(--home-domain-columns, 10), minmax(0, 1fr)); min-width: 0; gap: 10px; padding-top: 10px; }
.home-domain-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 22px 8px 16px; background: white; border: 1px solid #c6dfe2; border-radius: 8px; text-align: center; overflow-wrap: anywhere; transition: border-color .2s, box-shadow .2s; }
.home-domain-card:hover { border-color: #005a61; box-shadow: 0 4px 14px rgba(0,90,97,.08); }
.home-domain-card h3 { color: #005a61; font-size: clamp(17px, 1.5vw, 23px); font-weight: 900; line-height: 1.2; }
.home-domain-price { font-size: clamp(12px, 1vw, 16px); font-weight: 700; margin: 5px 0 2px; }
.home-domain-card-offer { border-color: #65b4ba; box-shadow: 0 4px 14px rgba(0,90,97,.08); }
.home-domain-badge-slot { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: flex; justify-content: center; gap: 3px; width: max-content; max-width: calc(100% - 8px); }
.home-domain-badge { display: inline-block; padding: 2px 6px; border: 2px solid #f0f8f9; border-radius: 999px; background: #d9f2f3; color: #00434a; font-size: 10px; font-weight: 900; white-space: nowrap; }
.home-domain-featured { background: #fef3c7; color: #854d0e; }
.home-domain-regular { margin-top: 2px; color: #64748b; font-size: 11px; }
.home-domain-period { color: #475569; font-size: 11px; font-weight: 400; margin-left: 3px; white-space: nowrap; }
.home-domain-form input:focus-visible, .home-domain-form button:focus-visible, .home-domain-card:focus-visible, .home-domains-all:focus-visible { outline: 2px solid #005a61; outline-offset: 2px; }
@media (max-width: 1023px) {
    .home-domain-list { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}
@media (max-width: 760px) {
    .home-domain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .home-domain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-domains { padding: 22px 16px; }
    .home-domain-form button { padding: 12px; }
    .home-domain-form input { padding: 12px 8px; font-size: 14px; }
}

/* ── Botón flotante WhatsApp ── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #1a9c4a;   /* contraste suficiente sobre fondo blanco */
    color: white;
    padding: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 1000;
    text-decoration: none;
    min-height: 44px;
    min-width: 44px;
}
.whatsapp-float:focus-visible { outline: 3px solid #1a9c4a; outline-offset: 3px; }
.client-support-view .whatsapp-float { display: none; }

/* ── Iconos de check en listas de planes ── */
.feature-check { color: #005700; }  /* verde oscuro, ratio 7:1+ sobre blanco */

/* ── Logos de medios de pago ── */
.trust-badge { filter: grayscale(100%); opacity: .6; transition: .3s; }
.trust-badge:hover { filter: grayscale(0%); opacity: 1; }

/* ── Texto accesible visualmente oculto ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Skip link para navegación por teclado ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: #005a61;
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    z-index: 9999;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Mobile ── */
@media (max-width: 640px) {
    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        padding: 14px;
        border-radius: 9999px;
        gap: 0;
    }
    .whatsapp-float span { display: none; }
}
