/* ============================================================
   Home Bonito — main.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html
{
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

img
{
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Custom Properties ---------- */
:root
{
    --hb-gold:        #C9A84C;
    --hb-gold-dark:   #A8872E;
    --hb-gold-light:  #E8D5A3;
    --hb-black:       #0D0D0D;
    --hb-black-soft:  #1A1A1A;
    --hb-gray-dark:   #2C2C2C;
    --hb-gray-mid:    #555555;
    --hb-gray-light:  #E8E4DE;
    --hb-cream:       #F8F5F0;
    --hb-white:       #FFFFFF;
    --hb-font-serif:  'Playfair Display', Georgia, serif;
    --hb-font-sans:   'Inter', system-ui, sans-serif;
    --hb-radius:      4px;
    --hb-shadow:      0 4px 24px rgba(0,0,0,0.12);
    --hb-shadow-lg:   0 8px 48px rgba(0,0,0,0.18);
    --hb-transition:  0.3s ease;
    --hb-max-width:   1200px;
}

/* ---------- Typography ---------- */
body
{
    font-family: var(--hb-font-sans);
    color: var(--hb-black-soft);
    background-color: var(--hb-cream);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6
{
    font-family: var(--hb-font-serif);
    line-height: 1.2;
    color: var(--hb-black-soft);
}

a:not(.hb-wa-float),
a:not(.hb-wa-float):hover,
a:not(.hb-wa-float):focus,
a:not(.hb-wa-float):active,
a:not(.hb-wa-float):visited,
.entry-content a,
.wp-block a,
.wpcf7 a
{
    text-decoration: none !important;
}

.hb-label
{
    font-family: var(--hb-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hb-gold);
    display: block;
    margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.hb-btn,
.wp-block-button__link
{
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--hb-font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--hb-radius);
    cursor: pointer;
    transition: background-color var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition), transform var(--hb-transition);
}

.hb-btn-gold,
.wp-block-button.is-style-fill .wp-block-button__link
{
    background-color: var(--hb-gold);
    color: var(--hb-white);
    border-color: var(--hb-gold);
}

.hb-btn-gold:hover,
.wp-block-button.is-style-fill .wp-block-button__link:hover
{
    background-color: var(--hb-gold-dark);
    border-color: var(--hb-gold-dark);
    transform: translateY(-2px);
}

.hb-btn-outline
{
    background-color: transparent;
    color: var(--hb-gold);
    border-color: var(--hb-gold);
}

.hb-btn-outline:hover
{
    background-color: var(--hb-gold);
    color: var(--hb-white);
    transform: translateY(-2px);
}

.hb-btn-white-outline
{
    background-color: transparent;
    color: var(--hb-white);
    border-color: var(--hb-white);
}

.hb-btn-white-outline:hover
{
    background-color: var(--hb-white);
    color: var(--hb-black-soft);
}

/* ---------- Section base ---------- */
.hb-section
{
    padding: 5rem 1.5rem;
}

.hb-section-sm
{
    padding: 3rem 1.5rem;
}

.hb-container
{
    max-width: var(--hb-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hb-section-header
{
    text-align: center;
    margin-bottom: 3.5rem;
}

.hb-section-header h2
{
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--hb-black-soft);
    margin-top: 0.5rem;
}

.hb-section-header p
{
    color: var(--hb-gray-mid);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

/* ---------- HEADER ---------- */
.hb-header
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: transparent;
    padding: 1.25rem 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.hb-header.scrolled
{
    background-color: rgba(13, 13, 13, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    padding: 0.75rem 0;
}

.hb-header-inner
{
    max-width: var(--hb-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hb-logo
{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.hb-logo svg
{
    width: 44px;
    height: 44px;
}

.hb-logo-text
{
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hb-logo-name
{
    font-family: var(--hb-font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hb-white);
    letter-spacing: 0.02em;
}

.hb-logo-sub
{
    font-family: var(--hb-font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-top: 2px;
}

.hb-nav
{
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.hb-nav-menu,
.hb-nav ul
{
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-nav-menu li,
.hb-nav li
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.hb-nav a,
.hb-nav-menu a
{
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: var(--hb-radius);
    transition: color var(--hb-transition);
    position: relative;
    display: inline-block;
}

.hb-nav a::after,
.hb-nav-menu a::after
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--hb-gold);
    transition: width var(--hb-transition);
}

.hb-nav a:hover,
.hb-nav-menu a:hover
{
    color: var(--hb-gold);
}

.hb-nav a:hover::after,
.hb-nav-menu a:hover::after
{
    width: calc(100% - 1.75rem);
}

.hb-nav-cta
{
    margin-left: 0.75rem;
}

.hb-nav-cta a
{
    background-color: var(--hb-gold) !important;
    color: var(--hb-white) !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: var(--hb-radius) !important;
}

.hb-nav-cta a:hover
{
    background-color: var(--hb-gold-dark) !important;
    transform: translateY(-1px);
}

.hb-nav-cta a::after
{
    display: none !important;
}

.hb-burger
{
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.hb-burger span
{
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--hb-white);
    border-radius: 2px;
    transition: transform var(--hb-transition), opacity var(--hb-transition);
}

/* ---------- HERO ---------- */
.hb-hero
{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hb-hero-bg
{
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1613977257363-707ba9348227?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hb-hero-bg.loaded
{
    transform: scale(1);
}

.hb-hero-overlay
{
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.5) 60%, rgba(13,13,13,0.25) 100%);
}

.hb-hero-content
{
    position: relative;
    z-index: 2;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    padding: 10rem 2rem 6rem;
    max-width: 720px;
    margin-left: max(2rem, calc((100vw - 1200px) / 2));
}

.hb-hero-eyebrow
{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hb-hero-eyebrow::before
{
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--hb-gold);
}

.hb-hero-eyebrow span
{
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--hb-gold);
}

.hb-hero h1
{
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--hb-white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hb-hero h1 em
{
    color: var(--hb-gold);
    font-style: normal;
}

.hb-hero-desc
{
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hb-hero-actions
{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hb-hero-scroll
{
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    animation: hb-bounce 2s ease infinite;
}

.hb-hero-scroll svg
{
    width: 20px;
    height: 20px;
}

@keyframes hb-bounce
{
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---------- SOBRE NOSOTROS ---------- */
.hb-about
{
    background-color: var(--hb-white);
}

.hb-about-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    padding: 5rem 2rem;
}

.hb-about-img
{
    position: relative;
}

.hb-about-img img
{
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 2px;
}

.hb-about-img-accent
{
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 160px;
    height: 160px;
    background-color: var(--hb-gold);
    z-index: -1;
    border-radius: 2px;
}

.hb-about-badge
{
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background-color: var(--hb-black-soft);
    color: var(--hb-white);
    padding: 1.25rem 1.5rem;
    border-radius: 2px;
    text-align: center;
    box-shadow: var(--hb-shadow-lg);
}

.hb-about-badge strong
{
    display: block;
    font-family: var(--hb-font-serif);
    font-size: 2rem;
    color: var(--hb-gold);
    line-height: 1;
}

.hb-about-badge span
{
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.hb-about-content h2
{
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.hb-about-content p
{
    color: var(--hb-gray-mid);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.hb-about-list
{
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hb-about-list li
{
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--hb-gray-dark);
}

.hb-about-list li::before
{
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--hb-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------- SERVICIOS ---------- */
.hb-services
{
    background-color: var(--hb-cream);
    padding: 5rem 2rem;
}

.hb-services-grid
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
}

.hb-service-card
{
    background-color: var(--hb-white);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: border-color var(--hb-transition), transform var(--hb-transition), box-shadow var(--hb-transition);
    position: relative;
    overflow: hidden;
}

.hb-service-card::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hb-gold), var(--hb-gold-dark));
    transform: scaleX(0);
    transition: transform var(--hb-transition);
}

.hb-service-card:hover
{
    transform: translateY(-6px);
    box-shadow: var(--hb-shadow-lg);
    border-color: transparent;
}

.hb-service-card:hover::before
{
    transform: scaleX(1);
}

.hb-service-icon
{
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: rgba(201, 168, 76, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-service-icon svg
{
    width: 30px;
    height: 30px;
    color: var(--hb-gold);
}

.hb-service-card h3
{
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--hb-black-soft);
}

.hb-service-card p
{
    font-size: 0.9rem;
    color: var(--hb-gray-mid);
    line-height: 1.65;
}

/* ---------- ESTADÍSTICAS ---------- */
.hb-stats
{
    background-color: var(--hb-black-soft);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hb-stats::before
{
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1920&q=60');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.hb-stats-inner
{
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    text-align: center;
}

.hb-stat-item
{
    padding: 2rem 1rem;
    border-right: 1px solid rgba(201,168,76,0.2);
}

.hb-stat-item:last-child
{
    border-right: none;
}

.hb-stat-number
{
    font-family: var(--hb-font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--hb-gold);
    line-height: 1;
    display: block;
}

.hb-stat-label
{
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
    display: block;
}

/* ---------- EQUIPO ---------- */
.hb-team
{
    background-color: var(--hb-white);
    padding: 5rem 2rem;
}

.hb-team-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
}

.hb-team-card
{
    text-align: center;
    overflow: hidden;
    border-radius: 2px;
}

.hb-team-photo
{
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.hb-team-photo img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.hb-team-card:hover .hb-team-photo img
{
    transform: scale(1.05);
    filter: grayscale(0%);
}

.hb-team-overlay
{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.75) 0%, transparent 50%);
}

.hb-team-info
{
    padding: 1.5rem 1rem 1rem;
    background-color: var(--hb-cream);
}

.hb-team-info h3
{
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.hb-team-role
{
    font-size: 0.8rem;
    color: var(--hb-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 0.75rem;
}

.hb-team-socials
{
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.hb-team-socials a
{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--hb-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hb-gray-mid);
    transition: background-color var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition);
}

.hb-team-socials a:hover
{
    background-color: var(--hb-gold);
    color: var(--hb-white);
    border-color: var(--hb-gold);
}

.hb-team-socials svg
{
    width: 14px;
    height: 14px;
}

/* ---------- EQUIPO GUTENBERG ---------- */
#equipo .wp-block-image figure
{
    border-radius: 50%;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#equipo .wp-block-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(20%);
}

#equipo .wp-block-image:hover img
{
    transform: scale(1.05);
    filter: grayscale(0%);
}

#equipo .wp-block-column
{
    text-align: center;
}

#equipo .wp-block-column h3
{
    margin-top: 1.25rem;
    font-family: var(--hb-font-serif);
    font-size: 1.15rem;
    color: var(--hb-black-soft);
}

#equipo .wp-block-column p
{
    font-size: 0.8rem;
    color: var(--hb-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- TESTIMONIOS ---------- */
.hb-testimonials
{
    background-color: var(--hb-cream);
    padding: 5rem 2rem;
}

.hb-testi-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
}

.hb-testi-card
{
    background-color: var(--hb-white);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow var(--hb-transition), transform var(--hb-transition);
}

.hb-testi-card:hover
{
    box-shadow: var(--hb-shadow);
    transform: translateY(-4px);
}

.hb-testi-quote
{
    font-size: 4rem;
    line-height: 0.6;
    color: var(--hb-gold);
    font-family: var(--hb-font-serif);
    margin-bottom: 1rem;
    display: block;
}

.hb-testi-text
{
    font-size: 0.95rem;
    color: var(--hb-gray-mid);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.hb-testi-stars
{
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.hb-testi-stars svg
{
    width: 16px;
    height: 16px;
    fill: var(--hb-gold);
    color: var(--hb-gold);
}

.hb-testi-author
{
    display: flex;
    align-items: center;
    gap: 0.875rem;
    border-top: 1px solid var(--hb-gray-light);
    padding-top: 1.25rem;
}

.hb-testi-avatar
{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.hb-testi-name
{
    font-family: var(--hb-font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
}

.hb-testi-location
{
    font-size: 0.78rem;
    color: var(--hb-gold);
    display: block;
    margin-top: 1px;
}

/* ---------- CTA BANNER ---------- */
.hb-cta
{
    position: relative;
    padding: 7rem 2rem;
    overflow: hidden;
}

.hb-cta-bg
{
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hb-cta-overlay
{
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.75) 100%);
}

.hb-cta-inner
{
    position: relative;
    z-index: 2;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
}

.hb-cta-text p.hb-label
{
    color: var(--hb-gold-light);
}

.hb-cta-text h2
{
    color: var(--hb-white);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.hb-cta-text p:not(.hb-label)
{
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
}

/* ---------- FOOTER ---------- */
.hb-footer
{
    background-color: var(--hb-black);
    color: rgba(255,255,255,0.65);
}

.hb-footer-top
{
    padding: 5rem 2rem 4rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.hb-footer-brand .hb-logo
{
    margin-bottom: 1.25rem;
}

.hb-footer-brand .hb-logo-name
{
    color: var(--hb-white);
}

.hb-footer-brand p
{
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
}

.hb-footer-socials
{
    display: flex;
    gap: 0.75rem;
}

.hb-footer-socials a
{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: background-color var(--hb-transition), color var(--hb-transition), border-color var(--hb-transition);
}

.hb-footer-socials a:hover
{
    background-color: var(--hb-gold);
    color: var(--hb-white);
    border-color: var(--hb-gold);
}

.hb-footer-socials svg
{
    width: 15px;
    height: 15px;
}

.hb-footer-col h4
{
    font-family: var(--hb-font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-bottom: 1.25rem;
}

.hb-footer-col ul
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.hb-footer-col ul li a
{
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--hb-transition), padding-left var(--hb-transition);
    display: inline-block;
}

.hb-footer-col ul li a:hover
{
    color: var(--hb-gold);
    padding-left: 4px;
}

.hb-footer-contact-item
{
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.hb-footer-contact-item svg
{
    width: 16px;
    height: 16px;
    color: var(--hb-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.hb-footer-contact-item a
{
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--hb-transition);
}

.hb-footer-contact-item a:hover
{
    color: var(--hb-gold);
}

.hb-footer-bottom
{
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 2rem;
    max-width: var(--hb-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.hb-footer-bottom p
{
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.hb-footer-bottom-links
{
    display: flex;
    gap: 1.5rem;
}

.hb-footer-bottom-links a
{
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color var(--hb-transition);
}

.hb-footer-bottom-links a:hover
{
    color: var(--hb-gold);
}

/* ---------- Decorative divider ---------- */
.hb-divider
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hb-divider::before,
.hb-divider::after
{
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--hb-gold);
}

.hb-divider-icon
{
    width: 10px;
    height: 10px;
    background-color: var(--hb-gold);
    transform: rotate(45deg);
}

/* ---------- Fade-in animations ---------- */
.hb-fade-up
{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hb-fade-up.visible
{
    opacity: 1;
    transform: translateY(0);
}

.hb-fade-up:nth-child(2) { transition-delay: 0.1s; }
.hb-fade-up:nth-child(3) { transition-delay: 0.2s; }
.hb-fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px)
{
    .hb-services-grid
    {
        grid-template-columns: repeat(2, 1fr);
    }

    .hb-stats-inner
    {
        grid-template-columns: repeat(2, 1fr);
    }

    .hb-stat-item:nth-child(2)
    {
        border-right: none;
    }

    .hb-stat-item
    {
        border-bottom: 1px solid rgba(201,168,76,0.2);
    }

    .hb-stat-item:nth-child(3),
    .hb-stat-item:nth-child(4)
    {
        border-bottom: none;
    }

    .hb-footer-top
    {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px)
{
    .hb-nav
    {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(13,13,13,0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        z-index: 998;
    }

    .hb-nav.open
    {
        display: flex;
    }

    .hb-nav.open .hb-nav-menu,
    .hb-nav.open ul
    {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .hb-nav a
    {
        font-size: 1.1rem;
        padding: 0.875rem 2rem;
    }

    .hb-nav-cta
    {
        margin-left: 0;
    }

    .hb-burger
    {
        display: flex;
        z-index: 1000;
    }

    .hb-burger.open span:nth-child(1)
    {
        transform: translateY(7px) rotate(45deg);
    }

    .hb-burger.open span:nth-child(2)
    {
        opacity: 0;
    }

    .hb-burger.open span:nth-child(3)
    {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hb-hero-content
    {
        padding: 8rem 1.5rem 5rem;
        margin-left: 0;
        max-width: 100%;
    }

    .hb-about-grid
    {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem;
    }

    .hb-about-img-accent
    {
        display: none;
    }

    .hb-about-badge
    {
        left: 1rem;
        bottom: 1rem;
    }

    .hb-services-grid
    {
        grid-template-columns: 1fr;
    }

    .hb-stats-inner
    {
        grid-template-columns: repeat(2, 1fr);
    }

    .hb-team-grid
    {
        grid-template-columns: 1fr;
    }

    .hb-testi-grid
    {
        grid-template-columns: 1fr;
    }

    .hb-cta-inner
    {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hb-footer-top
    {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hb-footer-bottom
    {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px)
{
    .hb-stats-inner
    {
        grid-template-columns: 1fr;
    }

    .hb-stat-item
    {
        border-right: none;
        border-bottom: 1px solid rgba(201,168,76,0.2);
    }

    .hb-stat-item:last-child
    {
        border-bottom: none;
    }
}

/* ---------- WordPress admin bar offset ---------- */
.admin-bar .hb-header
{
    top: 32px;
}

@media screen and (max-width: 782px)
{
    .admin-bar .hb-header
    {
        top: 46px;
    }
}

/* ---------- Utility ---------- */
.hb-text-gold  { color: var(--hb-gold); }
.hb-text-white { color: var(--hb-white); }
.hb-text-center { text-align: center; }
.hb-mt-1 { margin-top: 0.5rem; }
.hb-mt-2 { margin-top: 1rem; }
.hb-mt-3 { margin-top: 1.5rem; }
.hb-mb-0 { margin-bottom: 0 !important; }

/* ---------- Contacto / CF7 ---------- */
.hb-contact-layout
{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.hb-contact-intro
{
    margin-bottom: 1.5rem;
}

.hb-contact-intro-title
{
    font-family: var(--hb-font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--hb-black-soft);
    margin: 0.35rem 0 0.75rem;
}

.hb-contact-intro-text
{
    margin: 0;
    color: var(--hb-gray-mid);
    line-height: 1.7;
}

.hb-contact-cards
{
    display: grid;
    gap: 1rem;
}

.hb-contact-card
{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.3rem;
    background: var(--hb-cream);
    border: 1px solid var(--hb-gray-light);
    border-radius: var(--hb-radius);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hb-contact-card:hover
{
    border-color: rgba(201, 168, 76, 0.55);
    box-shadow: 0 8px 24px rgba(13, 13, 13, 0.08);
}

.hb-contact-card-icon
{
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--hb-gold);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
}

.hb-contact-card-title
{
    font-family: var(--hb-font-serif);
    font-size: 1rem;
    color: var(--hb-black-soft);
    margin: 0 0 0.3rem;
}

.hb-contact-card-hint
{
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    color: var(--hb-gray-mid);
}

.hb-contact-card-value
{
    font-weight: 600;
    color: var(--hb-gold-dark);
    text-decoration: none;
}

.hb-contact-card-value:hover
{
    color: var(--hb-gold);
}

form.wpcf7-form.hb-contact-form
{
    background: var(--hb-white);
    border: 1px solid var(--hb-gray-light);
    border-radius: var(--hb-radius);
    padding: 2.2rem;
    display: grid;
    gap: 1rem;
    margin: 0;
}

form.wpcf7-form.hb-contact-form label
{
    display: grid;
    gap: 0.4rem;
    color: var(--hb-black-soft);
    font-family: var(--hb-font-sans);
    font-weight: 600;
    font-size: 0.82rem;
    margin: 0;
}

form.wpcf7-form.hb-contact-form .wpcf7-form-control-wrap
{
    display: block;
}

form.wpcf7-form.hb-contact-form br
{
    display: none;
}

form.wpcf7-form.hb-contact-form .wpcf7-form-control,
form.wpcf7-form.hb-contact-form input:not([type="hidden"]):not([type="submit"]),
form.wpcf7-form.hb-contact-form textarea
{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--hb-gray-light);
    border-radius: var(--hb-radius);
    padding: 0.85rem 1rem;
    font: inherit;
    margin: 0;
}

form.wpcf7-form.hb-contact-form textarea
{
    min-height: 130px;
    resize: vertical;
}

form.wpcf7-form.hb-contact-form .wpcf7-form-control:focus,
form.wpcf7-form.hb-contact-form input:focus,
form.wpcf7-form.hb-contact-form textarea:focus
{
    border-color: var(--hb-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

form.wpcf7-form.hb-contact-form .wpcf7-submit
{
    width: auto;
    justify-self: start;
    cursor: pointer;
}

form.wpcf7-form.hb-contact-form .wpcf7-turnstile
{
    margin: 0.25rem 0 0.5rem;
}

form.wpcf7-form.hb-contact-form .wpcf7-response-output
{
    margin: 0;
    padding: 1rem;
    border-radius: var(--hb-radius);
    font-size: 0.9rem;
    grid-column: 1 / -1;
}

form.wpcf7-form.hb-contact-form.sent .wpcf7-response-output
{
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--hb-black-soft);
}

form.wpcf7-form.hb-contact-form.failed .wpcf7-response-output,
form.wpcf7-form.hb-contact-form.invalid .wpcf7-response-output,
form.wpcf7-form.hb-contact-form.spam .wpcf7-response-output
{
    background: rgba(220, 60, 60, 0.08);
    border: 1px solid rgba(220, 60, 60, 0.3);
    color: #a33;
}

form.wpcf7-form.hb-contact-form .wpcf7-not-valid-tip
{
    color: #c44;
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

@media (max-width: 920px)
{
    .hb-contact-layout
    {
        grid-template-columns: 1fr;
    }
}
