/* ============================================
   Diana Guajardo López - Nutrióloga
   Stylesheet
   ============================================ */

:root {
    --primary: #B43A35;
    --primary-dark: #8E2A26;
    --primary-light: #E85A52;
    --accent: #7CB342;
    --accent-dark: #5A8A2D;
    --accent-light: #A5D66A;
    --dark: #2C2C2C;
    --gray: #5A5A5A;
    --gray-light: #8A8A8A;
    --bg-light: #FAF7F4;
    --bg-cream: #FDF8F3;
    --white: #FFFFFF;
    --border: #E8E2DC;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-lg: 20px;
    --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Dancing Script', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

.accent {
    color: var(--primary);
    font-style: italic;
    font-family: var(--font-display);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 16px;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: rgba(180, 58, 53, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(180, 58, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--bg-cream);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.82rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-info {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.top-info span i {
    margin-right: 6px;
    color: var(--accent-light);
}

.top-social {
    display: flex;
    gap: 14px;
}

.top-social a {
    color: var(--white);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 0.78rem;
}

.top-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.94rem;
    padding: 8px 14px;
    border-radius: 8px;
    position: relative;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(180, 58, 53, 0.06);
}

.nav-toggle, .nav-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #FAEEE6 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.15), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(180, 58, 53, 0.1), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-tag i {
    color: var(--accent);
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.stat span {
    font-size: 0.85rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 4px solid var(--primary);
}

.hero-badge i {
    font-size: 2rem;
    color: var(--primary);
}

.hero-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--dark);
}

.hero-badge span {
    font-size: 0.8rem;
    color: var(--gray);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.trust-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-experience strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
}

.about-experience span {
    font-size: 0.8rem;
    opacity: 0.95;
}

.about-text h2 {
    margin-bottom: 20px;
}

.lead {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 36px 0;
}

.feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature i {
    background: rgba(180, 58, 53, 0.1);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.feature h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.feature p {
    font-size: 0.86rem;
    color: var(--gray);
    margin: 0;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card.featured {
    background: linear-gradient(180deg, #FFF8F5 0%, var(--white) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: scale(1.02);
}

.badge-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    box-shadow: 0 8px 20px rgba(180, 58, 53, 0.25);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--gray);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--accent);
    font-size: 0.8rem;
}

.service-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border);
}

.service-price span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-price small {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* ============================================
   CREDENTIALS
   ============================================ */
.credentials {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.credentials::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.1), transparent 70%);
    border-radius: 50%;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.credentials-image {
    position: relative;
}

.credentials-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.credentials-floating {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--white);
    padding: 14px 22px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.credentials-floating i {
    color: var(--accent);
    font-size: 1.3rem;
}

.credentials-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.credential-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.credential-item.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.credential-item.highlight h4,
.credential-item.highlight p,
.credential-item.highlight .credential-year {
    color: var(--white);
}

.credential-year {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1;
    padding: 8px 0;
    border-right: 2px solid var(--border);
}

.credential-item.highlight .credential-year {
    border-right-color: rgba(255,255,255,0.3);
}

.credential-info h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}

.credential-info p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

.credential-item > i {
    font-size: 1.6rem;
    color: var(--primary);
    opacity: 0.6;
}

.credential-item.highlight > i {
    color: #FFD700;
    opacity: 1;
}

/* ============================================
   APPOINTMENT
   ============================================ */
.appointment {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.15), transparent 70%);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.appointment-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
}

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.step-number {
    background: var(--white);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.step h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 4px;
}

.step p {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
}

.appointment-contact {
    margin-top: 30px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #25D366;
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1FAE53;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp i {
    font-size: 2rem;
}

.btn-whatsapp span {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
}

.btn-whatsapp strong {
    font-size: 1.1rem;
}

.appointment-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: var(--dark);
    box-shadow: var(--shadow-lg);
}

.appointment-form h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(180, 58, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: var(--font-body);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    margin-top: 4px;
}

.form-check label {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 12px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
}

.stars {
    color: #FFB400;
    margin-bottom: 16px;
    font-size: 0.92rem;
    display: flex;
    gap: 2px;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--white);
    padding: 70px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 8px;
}

.cta-content p {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--bg-cream);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--gray);
}

.contact-card a:hover {
    color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.75);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    height: 70px;
    width: auto;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    padding: 6px 0;
    font-size: 0.9rem;
}

.footer-col a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.84rem;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    background: #1FAE53;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.8s ease both;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .section { padding: 70px 0; }
    .hero { padding: 60px 0 100px; }
    .hero-content,
    .about-grid,
    .credentials-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image,
    .credentials-image {
        max-width: 480px;
        margin: 0 auto;
    }
    .about-experience { right: 20px; }
    .credentials-floating { left: 20px; }
    .hero-stats { justify-content: center; }
    .hero-text { text-align: center; }
    .hero-buttons { justify-content: center; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .top-info { font-size: 0.78rem; gap: 14px; }
    .top-bar-content { justify-content: center; }

    .nav-toggle { display: block; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: var(--white);
        padding: 70px 30px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav.active { right: 0; }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav a {
        display: block;
        padding: 12px 16px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { gap: 24px; }
    .stat strong { font-size: 1.6rem; }

    .about-features { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .appointment-form { padding: 28px 22px; }

    .credential-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }
    .credential-year {
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding-bottom: 8px;
    }
    .credential-item.highlight .credential-year {
        border-bottom-color: rgba(255,255,255,0.3);
    }
    .credential-item > i { display: none; }

    .cta-content { text-align: center; flex-direction: column; }
    .cta-buttons { width: 100%; flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .service-card.featured { transform: none; }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .hero h1 { font-size: 1.9rem; }
    .top-info span:not(:first-child) { display: none; }
    .logo img { height: 50px; }
}
