/* ============================
   Variables & Reset
   ============================ */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --orange: #E8731A;
    --orange-light: #F5923E;
    --orange-dark: #C45E10;
    --orange-glow: rgba(232, 115, 26, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border: #2a2a2a;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ============================
   Header
   ============================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(10, 10, 10, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.header.scrolled { background: rgba(10, 10, 10, 0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.logo-icon { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--orange); transition: var(--transition); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Services Subnav */
.services-subnav { position: sticky; top: 72px; z-index: 900; background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.subnav-scroll { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; justify-content: center; }
.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav-link { flex-shrink: 0; font-size: 0.82rem; font-weight: 500; color: var(--text-muted); padding: 8px 16px; border-radius: 100px; border: 1px solid transparent; transition: var(--transition); white-space: nowrap; text-decoration: none; background: none; font-family: var(--font); cursor: pointer; }
.subnav-link:hover { color: var(--text-primary); background: var(--orange-glow); border-color: rgba(232, 115, 26, 0.2); }
.subnav-link.active { color: var(--orange); background: var(--orange-glow); border-color: rgba(232, 115, 26, 0.3); }
.subnav-link::after { display: none; }
.btn-nav { background: var(--orange); color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; }
.btn-nav:hover { background: var(--orange-light); }
.btn-nav::after { display: none; }
.btn-nav.active { background: var(--orange-light); }
.header-contact { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); }
.header-phone { color: var(--text-secondary); transition: var(--transition); }
.header-phone:hover { color: var(--orange); }
.header-sep { color: var(--text-muted); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }

/* ============================
   Buttons
   ============================ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; font-family: var(--font); cursor: pointer; transition: var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 24px rgba(232, 115, 26, 0.3); }
.btn-primary:hover { background: var(--orange-light); box-shadow: 0 8px 32px rgba(232, 115, 26, 0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================
   Hero (Home)
   ============================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
/* Hero rotating logo */
.hero-logo-bg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 750px; height: 750px; color: var(--orange); opacity: 0.2; animation: heroLogoSpin 80s linear infinite; pointer-events: none; z-index: 0; }
.hero-logo-bg svg { width: 100%; height: 100%; }
@keyframes heroLogoSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(232, 115, 26, 0.3) 0%, transparent 55%), radial-gradient(ellipse 50% 40% at 15% 80%, rgba(232, 115, 26, 0.2) 0%, transparent 50%), radial-gradient(circle at 90% 85%, rgba(232, 115, 26, 0.15) 0%, transparent 40%), radial-gradient(circle at 5% 20%, rgba(232, 115, 26, 0.1) 0%, transparent 35%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-tag { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; padding: 6px 14px; background: var(--orange-glow); border: 1px solid rgba(232, 115, 26, 0.2); border-radius: 100px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 24px; }
.text-gradient { display: inline-block; background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 6px 4px 0; }
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cards { display: flex; flex-direction: column; gap: 20px; }
.hero-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: var(--transition); }
.hero-card:hover { border-color: var(--orange); background: var(--bg-card-hover); transform: translateY(-2px); }
.hero-card-icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--orange-glow); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hero-card-icon svg { width: 20px; height: 20px; color: var(--orange); }
.hero-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================
   Page Hero (Subpages)
   ============================ */
.page-hero { position: relative; padding: 140px 0 70px; text-align: center; background-color: #0a0a0a; background-image: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(232, 115, 26, 0.18) 0%, transparent 65%), radial-gradient(ellipse 40% 40% at 15% 70%, rgba(232, 115, 26, 0.12) 0%, transparent 60%); }
.page-hero .container { display: flex; flex-direction: column; align-items: center; }
.page-hero-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; margin-bottom: 20px; }
.page-hero-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; max-width: 650px; }

/* ============================
   Section Titles
   ============================ */
/* Section dividers */
.hero + .why-us, .why-us + .services-preview, .services-preview + .blog-preview, .blog-preview + .cta,
.page-hero + .services-full, .page-hero + .about-full, .about-full + .team, .team + .cta,
.page-hero + .blog-list, .page-hero + .project-section,
.services-subnav + .page-hero { border-top: 1px solid rgba(255, 255, 255, 0.08); }

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; text-align: center; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; margin: 0 auto 56px; line-height: 1.6; }

/* ============================
   Why Us
   ============================ */
.why-us { padding: 100px 0; background-color: #111111; background-image: radial-gradient(ellipse 60% 50% at 85% 20%, rgba(232, 115, 26, 0.22) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 10% 80%, rgba(232, 115, 26, 0.16) 0%, transparent 70%); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; transition: var(--transition); }
.why-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.why-number { font-size: 2.5rem; font-weight: 800; color: var(--orange); opacity: 0.3; margin-bottom: 12px; line-height: 1; }
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================
   Services Preview & Grid
   ============================ */
.services-preview { padding: 100px 0; background-color: #0a0a0a; background-image: radial-gradient(ellipse 50% 60% at 10% 50%, rgba(232, 115, 26, 0.18) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 90% 70%, rgba(232, 115, 26, 0.22) 0%, transparent 65%); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; transition: var(--transition); position: relative; overflow: hidden; }
.service-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.service-card:hover .service-line { width: 100%; }
.service-icon { width: 56px; height: 56px; background: var(--orange-glow); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon svg { width: 28px; height: 28px; color: var(--orange); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.service-line { position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transition: width 0.5s ease; }

/* ============================
   Services Full (servicios.html)
   ============================ */
.services-full { padding: 60px 0 100px; background-color: #0a0a0a; background-image: radial-gradient(ellipse 40% 30% at 90% 30%, rgba(232, 115, 26, 0.12) 0%, transparent 70%), radial-gradient(ellipse 40% 30% at 5% 70%, rgba(232, 115, 26, 0.1) 0%, transparent 70%); }
.service-detail { display: grid; grid-template-columns: 1fr 0.4fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); }
.service-detail.reverse { grid-template-columns: 0.4fr 1fr; }
.service-detail.reverse .service-detail-content { order: 2; }
.service-detail.reverse .service-detail-visual { order: 1; }
.service-detail-badge { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; background: var(--orange-glow); border: 1px solid rgba(232, 115, 26, 0.2); border-radius: 100px; margin-bottom: 16px; }
.service-detail h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.service-detail p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.service-benefits { list-style: none; margin-bottom: 32px; }
.service-benefits li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.service-benefits li::before { content: ''; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange-glow); border: 2px solid var(--orange); }
.service-detail-visual { display: flex; align-items: center; justify-content: center; }
.service-detail-img { width: 100%; max-width: 380px; height: 280px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.service-detail:hover .service-detail-img { border-color: var(--orange); box-shadow: 0 8px 40px rgba(232, 115, 26, 0.15); }
.service-visual-icon { width: 120px; height: 120px; background: var(--orange-glow); border-radius: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(232, 115, 26, 0.2); }
.service-visual-icon svg { width: 56px; height: 56px; color: var(--orange); }

/* ============================
   About Full (equipo.html)
   ============================ */
.about-full { padding: 80px 0; background-color: #111111; background-image: radial-gradient(ellipse 50% 50% at 80% 50%, rgba(232, 115, 26, 0.15) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 15% 30%, rgba(232, 115, 26, 0.08) 0%, transparent 65%); }
.about-content-full { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-text-block { padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.about-text-block h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text-block p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-text-block p:last-child { margin-bottom: 0; }
.about-values { display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); }
.value-item:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); }
.value-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--orange-glow); border: 1px solid rgba(232, 115, 26, 0.2); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 24px; height: 24px; color: var(--orange); }
.value-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.value-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

/* ============================
   Team
   ============================ */
.team { padding: 100px 0; background-color: #111111; background-image: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(232, 115, 26, 0.14) 0%, transparent 65%); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; max-width: 800px; margin: 0 auto; }
.team-card { text-align: center; }
.team-img-wrapper { position: relative; width: 220px; height: 220px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; border: 3px solid var(--border); transition: var(--transition); }
.team-card:hover .team-img-wrapper { border-color: var(--orange); box-shadow: 0 0 40px rgba(232, 115, 26, 0.2); }
.team-img { width: 100%; height: 100%; object-fit: cover; }
.team-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(232, 115, 26, 0.15) 100%); pointer-events: none; }
.team-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.9rem; color: var(--orange); font-weight: 500; }
.team-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-top: 12px; max-width: 320px; margin-left: auto; margin-right: auto; }
.team-stats { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.team-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 10px; flex: 1; text-align: center; transition: var(--transition); }
.team-card:hover .team-stat { border-color: rgba(232, 115, 26, 0.3); }
.team-stat-number { display: block; font-size: 1.2rem; font-weight: 800; color: var(--orange); line-height: 1.2; }
.team-stat-label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; line-height: 1.3; }

/* ============================
   Blog Preview (Home)
   ============================ */
.blog-preview { padding: 100px 0; background-color: #111111; background-image: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(232, 115, 26, 0.2) 0%, transparent 65%), radial-gradient(ellipse 40% 40% at 90% 80%, rgba(232, 115, 26, 0.14) 0%, transparent 70%); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; text-decoration: none; }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 28px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.blog-card-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; background: var(--orange-glow); border-radius: 100px; margin-bottom: 12px; align-self: flex-start; }
.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); line-height: 1.4; }
.blog-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.blog-card-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }

/* ============================
   Blog List (blog.html)
   ============================ */
.blog-list { padding: 60px 0 100px; }
.blog-grid-full { display: flex; flex-direction: column; gap: 24px; }
.blog-card-full { display: flex; align-items: stretch; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s ease; text-decoration: none; position: relative; }
.subnav-link { cursor: pointer; }
.blog-card-full:hover { border-color: var(--orange); transform: translateX(4px); }
.blog-card-full-img { width: 300px; min-height: 220px; object-fit: cover; flex-shrink: 0; }
.blog-card-full-content { padding: 32px; flex: 1; }
.blog-card-full-badge { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 10px; background: var(--orange-glow); border-radius: 100px; margin-bottom: 8px; }
.blog-card-full-content { flex: 1; }
.blog-card-full h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); line-height: 1.3; }
.blog-card-full p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.blog-read-more { font-size: 0.9rem; font-weight: 600; color: var(--orange); }

/* ============================
   Blog Article
   ============================ */
.blog-article { padding: 40px 0 100px; max-width: 760px; margin: 0 auto; }
.blog-article .container { max-width: 760px; }
.blog-back, .blog-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 32px; margin-top: 16px; transition: var(--transition); }
.blog-back:hover, .blog-back-link:hover { color: var(--orange); }
.blog-back::after, .blog-back-link::after { display: none; }
.blog-article-header { margin-bottom: 40px; }
.blog-article-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.blog-article-meta { display: flex; gap: 16px; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.blog-hero-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; border: 1px solid var(--border); }
.blog-inline-img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin: 32px 0; border: 1px solid var(--border); }
.blog-article-body h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 16px; }
.blog-article-body p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; }
.blog-article-body ul { margin: 0 0 24px 20px; }
.blog-article-body li { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.blog-article-body blockquote { border-left: 3px solid var(--orange); padding: 16px 24px; margin: 32px 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }
.blog-article-body blockquote p { color: var(--text-primary); font-style: italic; margin-bottom: 0; }
.blog-article-body strong { color: var(--text-primary); }
.blog-article-cta { margin-top: 48px; padding: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; }
.blog-article-cta h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.blog-article-cta p { color: var(--text-secondary); margin-bottom: 20px; }

/* ============================
   Project Form (proyecto.html)
   ============================ */
.project-section { padding: 60px 0 100px; }
.project-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.project-form-wrapper { /* no extra styles needed */ }
.form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.required { color: var(--orange); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 16px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary); font-size: 0.95rem; font-family: var(--font); transition: var(--transition); outline: none; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; margin-top: 8px; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }

/* Sidebar */
.project-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.sidebar-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-item a { color: var(--text-secondary); transition: var(--transition); }
.contact-item a:hover { color: var(--orange); }
.contact-item p { color: var(--text-secondary); font-size: 0.95rem; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-number { flex-shrink: 0; width: 32px; height: 32px; background: var(--orange-glow); border: 1px solid rgba(232, 115, 26, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--orange); }
.step strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }

/* ============================
   CTA
   ============================ */
.cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232, 115, 26, 0.28) 0%, transparent 55%), radial-gradient(circle at 15% 70%, rgba(232, 115, 26, 0.15) 0%, transparent 40%), radial-gradient(circle at 85% 25%, rgba(232, 115, 26, 0.15) 0%, transparent 40%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--orange), var(--orange-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 36px; }

/* ============================
   Footer
   ============================ */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; background-color: #0a0a0a; background-image: radial-gradient(ellipse 60% 40% at 40% 0%, rgba(232, 115, 26, 0.1) 0%, transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.footer-nav h4, .footer-contact-col h4, .footer-social-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.footer-nav a { display: block; font-size: 0.85rem; color: var(--text-muted); padding: 4px 0; transition: var(--transition); }
.footer-nav a:hover { color: var(--orange); }
.footer-contact-col p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.footer-contact-col a { color: var(--text-muted); transition: var(--transition); }
.footer-contact-col a:hover { color: var(--orange); }
.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link svg { width: 18px; height: 18px; color: var(--text-secondary); transition: var(--transition); }
.social-link:hover { border-color: var(--orange); background: var(--orange-glow); }
.social-link:hover svg { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* ============================
   Animations
   ============================ */
/* Floating Widgets */
.floating-widgets { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 14px; z-index: 9998; }
.floating-btn { width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
.floating-btn:hover { transform: scale(1.1) translateY(-2px); }
.floating-btn svg { width: 28px; height: 28px; }
.floating-btn-whatsapp { background: #E8731A; }
.floating-btn-whatsapp:hover { background: var(--orange-light); box-shadow: 0 6px 28px rgba(232, 115, 26, 0.4); }
.floating-btn-whatsapp svg { fill: #fff; }
.floating-btn-chat { background: var(--bg-card); border: 1px solid var(--border); }
.floating-btn-chat:hover { border-color: var(--orange); background: var(--bg-card-hover); box-shadow: 0 6px 28px rgba(232, 115, 26, 0.2); }
.floating-btn-chat svg { color: var(--orange); fill: none; stroke: currentColor; stroke-width: 2; }

/* Chat Widget */
.chat-widget { position: fixed; bottom: 100px; right: 28px; width: 370px; max-height: 500px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); z-index: 9998; display: none; flex-direction: column; overflow: hidden; }
.chat-widget.open { display: flex; }
.chat-header { padding: 16px 20px; background: var(--orange); display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-header-info img { width: 32px; height: 32px; border-radius: 50%; }
.chat-header-info span { color: #fff; font-weight: 600; font-size: 0.95rem; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.3rem; cursor: pointer; padding: 4px; }
.chat-close:hover { color: #fff; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; max-height: 320px; }
.chat-msg { padding: 12px 16px; border-radius: 16px; font-size: 0.9rem; line-height: 1.5; max-width: 85%; }
.chat-msg-bot { background: rgba(232, 115, 26, 0.1); border: 1px solid rgba(232, 115, 26, 0.15); color: var(--text-secondary); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg-user { background: var(--orange); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-area { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-input { flex: 1; padding: 10px 14px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 100px; color: var(--text-primary); font-size: 0.88rem; font-family: var(--font); outline: none; }
.chat-input:focus { border-color: var(--orange); }
.chat-send { width: 38px; height: 38px; background: var(--orange); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.chat-send:hover { background: var(--orange-light); }
.chat-send svg { width: 18px; height: 18px; fill: #fff; }

@media (max-width: 480px) {
    .chat-widget { right: 12px; left: 12px; width: auto; bottom: 90px; }
    .floating-widgets { bottom: 20px; right: 20px; }
}

/* Cursor glow */
.cursor-glow { position: fixed; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 115, 26, 0.15) 0%, rgba(232, 115, 26, 0.05) 40%, transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: opacity 0.3s ease; opacity: 0; }
.cursor-glow.active { opacity: 1; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-cards { flex-direction: row; }
    .hero-card { flex: 1; }
    .header-contact { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .service-detail, .service-detail.reverse { grid-template-columns: 1fr; gap: 32px; }
    .service-detail.reverse .service-detail-content { order: 1; }
    .service-detail.reverse .service-detail-visual { order: 2; }
    .about-content-full { grid-template-columns: 1fr; gap: 32px; }
    .about-text-block { padding: 24px; }
    .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav { position: fixed; top: 72px; left: 0; right: 0; background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 32px 24px; gap: 24px; border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: var(--transition); }
    .nav.active { transform: translateY(0); }
    .subnav-link { font-size: 0.78rem; padding: 6px 12px; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-cards { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 300px; }
    .form { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { flex-direction: column; gap: 8px; align-items: center; }
    .blog-card-full { flex-direction: column; }
    .blog-card-full-img { width: 100%; min-height: 180px; }
    .blog-card-full-content { padding: 24px; }
    .service-detail-visual { margin-top: 8px; }
    .service-detail-img { max-width: 100%; height: 220px; }
}

@media (max-width: 480px) {
    .hero-cards { flex-direction: column; }
}
