/* ==========================================================================
   Roger Takemiya — Programador WordPress
   Modern, minimal, lightweight CSS — no frameworks
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

/* --- Container --- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(160deg, #0a0a0a 0%, #0f172a 40%, #1e293b 70%, #0f172a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Animated gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px circle at 20% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
        radial-gradient(500px circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(400px circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    animation: heroPulse 8s ease-in-out infinite alternate;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: gridDrift 30s linear infinite;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
}

@keyframes heroPulse {
    0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
    100% { opacity: 1; transform: scale(1.08) rotate(1deg); }
}

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Hero Background Floating Text */
.hero-bg-text {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-text span {
    position: absolute;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    letter-spacing: -0.04em;
    user-select: none;
    animation: floatText 20s linear infinite;
}

.hero-bg-text span:nth-child(1) {
    top: 5%;
    left: -10%;
    animation-duration: 25s;
}

.hero-bg-text span:nth-child(2) {
    top: 30%;
    right: -15%;
    animation-duration: 30s;
    animation-direction: reverse;
    font-size: clamp(3rem, 10vw, 8rem);
}

.hero-bg-text span:nth-child(3) {
    bottom: 25%;
    left: -5%;
    animation-duration: 22s;
    font-size: clamp(3.5rem, 11vw, 9rem);
}

.hero-bg-text span:nth-child(4) {
    bottom: 5%;
    right: -10%;
    animation-duration: 28s;
    animation-direction: reverse;
    font-size: clamp(2.5rem, 8vw, 7rem);
}

.hero-bg-text span:nth-child(5) {
    top: 55%;
    left: 20%;
    animation-duration: 35s;
    font-size: clamp(5rem, 14vw, 12rem);
}

@keyframes floatText {
    0%   { transform: translateX(0) translateY(0); opacity: 0.03; }
    25%  { transform: translateX(3%) translateY(-2%); opacity: 0.05; }
    50%  { transform: translateX(-2%) translateY(3%); opacity: 0.03; }
    75%  { transform: translateX(4%) translateY(1%); opacity: 0.05; }
    100% { transform: translateX(0) translateY(0); opacity: 0.03; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    animation: heroFadeUp 1s ease-out;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #4ade80;
    backdrop-filter: blur(4px);
    background: rgba(74, 222, 128, 0.06);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 40px rgba(59, 130, 246, 0.15);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: #4ade80;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::after {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-primary:hover {
    background: #20bd5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    padding: 0.6rem 0;
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    transition: color 0.3s;
}

.nav.scrolled .nav-logo { color: #1a1a1a; }

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav.scrolled .nav-links a { color: #555; }
.nav.scrolled .nav-links a:hover { color: #1a1a1a; }

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    background: #25D366;
    color: #fff;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #20bd5a; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: background 0.3s, transform 0.3s;
}

.nav.scrolled .nav-toggle span { background: #1a1a1a; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: #fafafa;
}

.section-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: #666;
    margin-top: 0.75rem;
    font-size: 1.05rem;
}

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #25D366;
    margin-bottom: 0.75rem;
}

.section-label-light { color: #4ade80; }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    background: #fff;
}

.service-card:hover {
    border-color: #ddd;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    border-radius: 12px;
    color: #25D366;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.service-card p {
    color: #666;
    font-size: 0.925rem;
    line-height: 1.6;
}

/* ==========================================================================
   ABOUT / EXPERIENCE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: #555; margin-bottom: 1rem; }

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.825rem;
    color: #888;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 1rem -1rem -1rem 1rem;
    border: 2px solid #25D366;
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

/* ==========================================================================
   SKILLS BREAKDOWN
   ========================================================================== */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.skill-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.skill-item-reverse { direction: rtl; }
.skill-item-reverse > * { direction: ltr; }

.skill-item img {
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.skill-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.skill-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   METRICS CAROUSEL
   ========================================================================== */
.metrics-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.metrics-carousel::-webkit-scrollbar { display: none; }

.metrics-carousel img {
    flex: 0 0 min(600px, 80vw);
    border-radius: 12px;
    scroll-snap-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.testimonial blockquote {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid #25D366;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author a {
    font-size: 0.8rem;
    color: #25D366;
    font-weight: 500;
}

/* ==========================================================================
   CLIENTS GRID
   ========================================================================== */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.clients-grid img {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s, opacity 0.3s;
}

.clients-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   BLOG GRID
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    background: #fff;
}

.blog-card:hover {
    border-color: #25D366;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.blog-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #25D366;
    background: #f0fdf4;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: auto;
    font-weight: 600;
}

.blog-link {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #25D366;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.section-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
}

.big-quote {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.quote-author {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 1.05rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: #555; margin-bottom: 2rem; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-method:hover {
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.1);
}

.contact-method strong {
    display: block;
    font-size: 0.85rem;
}

.contact-method span {
    font-size: 0.9rem;
    color: #555;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #eee;
    color: #555;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-links a:hover {
    color: #25D366;
    border-color: #25D366;
    background: #f0fdf4;
}

.contact-card {
    position: sticky;
    top: 6rem;
}

.contact-card-inner {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.contact-card-inner img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.contact-card-inner h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.contact-card-inner > p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-card-exp {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #25D366;
    background: #f0fdf4;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.contact-card .btn { margin-bottom: 0.75rem; }
.contact-card .btn:last-child { margin-bottom: 0; }

.contact-card .btn-secondary {
    color: #1a1a1a;
    border-color: #ddd;
}
.contact-card .btn-secondary:hover {
    border-color: #bbb;
    background: #fafafa;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: #25D366; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-quote {
    margin-top: 0.5rem;
    font-style: italic;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: #fff;
    padding: 0.875rem;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsappPulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 0.75rem;
    background: #fff;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

/* ==========================================================================
   FADE-IN ANIMATIONS
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
    }

    .nav-links.open a { color: #1a1a1a; font-size: 1rem; }

    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { order: -1; max-width: 300px; margin: 0 auto; }

    .skill-item,
    .skill-item-reverse { grid-template-columns: 1fr; gap: 1.5rem; }
    .skill-item-reverse { direction: ltr; }

    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-card { position: static; }

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

/* Mobile */
@media (max-width: 640px) {
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2rem; }
    .section-header h2 { font-size: 1.5rem; }
    .section-header p { font-size: 0.95rem; }

    .hero { min-height: 100svh; padding: 4rem 1.25rem; }
    .hero-title { font-size: 2.5rem; line-height: 1.1; }
    .hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.85); }
    .hero-badge { font-size: 0.7rem; padding: 0.4rem 1rem; }

    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 1.5rem; }

    .about-stats { flex-direction: column; gap: 1.25rem; text-align: center; }

    /* Better contrast for cards on mobile */
    .service-card { padding: 1.5rem; border-color: #ddd; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card p { font-size: 0.9rem; color: #444; }

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

    .testimonial blockquote { font-size: 0.9rem; color: #333; }
    .testimonial { border-color: #ddd; }

    .blog-card { padding: 1.5rem; border-color: #ddd; }
    .blog-card h3 { font-size: 1rem; color: #111; }

    .skill-text h3 { font-size: 1.25rem; }
    .skill-text p { font-size: 0.925rem; color: #444; }

    .contact-method { padding: 0.875rem 1rem; }
    .contact-method strong { font-size: 0.9rem; }

    .clients-grid img { max-width: 100px; max-height: 45px; }

    .section-label { font-size: 0.7rem; }

    .footer-grid { text-align: center; }
    .footer-links ul { align-items: center; }

    .hero-scroll-indicator { display: none; }
    .hero-bg-text { display: none; }
    .whatsapp-tooltip { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .fade-in { opacity: 1; transform: none; }
}
