/* =============================================
   SCHMIED.CL - Estilos Principales
   Paleta: Azul marino #1a2332, Rojo #d32f2f, Blanco #ffffff
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a2332;
    --primary-light: #2c3e50;
    --secondary: #1e3a5f;
    --accent: #d32f2f;
    --accent-hover: #b71c1c;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #0f1923;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

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

/* === HEADER / NAV === */
.header {
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    color: var(--primary);
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent);
    background: rgba(211,47,47,0.06);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* === HERO MODERNO === */
.hero-modern {
    min-height: 760px;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(30,58,95,0.45), transparent 32%),
        radial-gradient(circle at 18% 82%, rgba(211,47,47,0.08), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #0d1b2d 46%, #111f32 100%);
    isolation: isolate;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .32;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 92%);
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(3px);
    z-index: -2;
    pointer-events: none;
}

.hero-glow-one {
    width: 520px;
    height: 520px;
    right: -210px;
    top: 70px;
    border: 1px solid rgba(211,47,47,.18);
    box-shadow: inset 0 0 120px rgba(211,47,47,.05);
}

.hero-glow-two {
    width: 280px;
    height: 280px;
    right: 22%;
    bottom: -160px;
    border: 1px solid rgba(73,121,173,.17);
}

.hero-modern-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 64px;
    align-items: center;
}

.hero-modern-copy {
    max-width: 640px;
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255,255,255,.72);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.hero-kicker-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(211,47,47,.12);
}

.hero-modern h1 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.2rem, 3.65vw, 3.45rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 720;
    max-width: 760px;
}

.hero-title-line {
    display: block;
    font-size: 1em;
    white-space: nowrap;
}

.hero-title-line + .hero-title-line {
    margin-top: 3px;
}

.hero-title-line-top,
.hero-title-line-main {
    color: #ffffff;
}

.hero-title-line-accent {
    color: #9fb4ca;
    font-weight: 720;
}

.hero-modern-lead {
    max-width: 610px;
    margin-bottom: 14px;
    color: #c6d0dc;
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-modern-desc {
    max-width: 590px;
    margin-bottom: 14px;
    color: #8ea0b4;
    font-size: .95rem;
    line-height: 1.75;
}

.hero-modern-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.hero-main-btn {
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 4px;
    box-shadow: 0 12px 34px rgba(211,47,47,.2);
}

.hero-main-btn .material-symbols-outlined {
    font-size: 20px;
}

.hero-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: .96rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero-text-link .material-symbols-outlined {
    font-size: 18px;
    transition: transform .25s ease;
}

.hero-text-link:hover {
    color: #d8e3ee;
}

.hero-text-link:hover .material-symbols-outlined {
    transform: translate(3px, -3px);
}

.hero-proof-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.11);
    max-width: 650px;
}

.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hero-proof-item strong {
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.2;
}

.hero-proof-item span {
    color: #7f93a9;
    font-size: .78rem;
    white-space: nowrap;
}

.hero-proof-divider {
    width: 1px;
    background: rgba(255,255,255,.12);
}

.hero-tech-visual {
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.hero-photo-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
    box-shadow: 0 35px 80px rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
    padding: 16px;
}

.hero-photo-wrap {
    position: relative;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(12, 29, 49, .95), rgba(22, 46, 73, .92)),
        radial-gradient(circle at 85% 18%, rgba(211, 47, 47, .22), transparent 25%);
}

.hero-photo-wrap img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    object-fit: cover;
}

.hero-photo-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(7,17,31,.2), rgba(7,17,31,.78));
    backdrop-filter: blur(10px);
}

.hero-photo-overlay span {
    display: block;
    margin-bottom: 6px;
    color: #a9bbcf;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.hero-photo-overlay strong {
    display: block;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.4;
}

.hero-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hero-feature-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(8, 20, 35, .72);
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.hero-feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #d9e4ef;
    background: rgba(255,255,255,.07);
}

.hero-feature-icon .material-symbols-outlined {
    font-size: 23px;
}

.hero-feature-icon-accent {
    background: rgba(211,47,47,.16);
    color: #fff;
}

.hero-feature-card small,
.hero-feature-card strong,
.hero-feature-card p {
    display: block;
}

.hero-feature-card small {
    color: #7f93a9;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 5px;
}

.hero-feature-card strong {
    color: #fff;
    font-size: .96rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.hero-feature-card p {
    color: #8fa1b5;
    font-size: .82rem;
    line-height: 1.55;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211,47,47,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* === STATS === */
.stats {
    background: #ffffff;
    padding: 72px 0;
    border-top: 1px solid rgba(7, 17, 31, 0.06);
    border-bottom: 1px solid rgba(7, 17, 31, 0.06);
}

.stats .section-title h2 {
    color: var(--primary);
}

.stats .section-title p {
    color: var(--text-light);
}

.stats .section-title .line {
    background: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    font-weight: 700;
}

.stat-item p {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 5px;
}

.stat-desc {
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
    line-height: 1.7;
    margin-bottom: 12px !important;
    min-height: 40px;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary) !important;
}

/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-light);
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* === CONTENT BLOCK (nosotros, service detail) === */
.content-block {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-block p {
    margin-bottom: 12px;
}

/* === SERVICE CONTENT (rich HTML from servicio-tecnico) === */
.service-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-content h2,
.service-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.service-content h2 { font-size: 1.6rem; }
.service-content h3 { font-size: 1.3rem; }

.service-content p {
    margin-bottom: 15px;
    color: var(--text);
}

.service-content ul,
.service-content ol {
    margin: 15px 0 15px 25px;
    list-style: disc;
}

.service-content ul li,
.service-content ol li {
    margin-bottom: 8px;
    padding: 4px 0;
    color: var(--text);
}

.service-content strong {
    color: var(--primary);
}

/* === SERVICES CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

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

.service-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
    font-size: 2rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* === ABOUT / NOSOTROS === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* === VALUES === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.value-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
}

.value-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.value-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === TIMELINE === */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
}

.timeline-item {
    padding-left: 70px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item .year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.timeline-item h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === TECHNOLOGIES === */
.tech-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    position: relative;
}

.tech-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    padding: 20px 30px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.tech-card:nth-child(even) {
    direction: rtl;
}

.tech-card:nth-child(even) > * {
    direction: ltr;
}

.tech-card-img {
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 4rem;
}

.tech-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-card-content {
    padding: 40px;
}

.tech-card-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.tech-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.tech-desc {
    line-height: 1.7;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    padding: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

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

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 3rem;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 25px;
}

.blog-card-body .date {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-card-body .read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-card-body .read-more:hover {
    color: var(--accent-hover);
}

/* === SINGLE POST === */
.post-header {
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    padding: 120px 0 60px;
    text-align: center;
}

.post-header h1 {
    color: #fff;
    font-size: 2.2rem;
    max-width: 800px;
    margin: 0 auto 15px;
}

.post-header .meta {
    color: rgba(255,255,255,0.6);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.post-content h3 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.post-content ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

.post-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* === CONTACT INFO CARDS === */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.contact-info-card h4 {
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === CONTACT GRID (forms) === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item .icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
}

.contact-form input[type="file"] {
    padding: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211,47,47,0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* === SOCIAL SECTION === */
.social-section {
    background: var(--primary);
    padding: 40px 0;
    text-align: center;
}

.social-section h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.social-section .social-links {
    justify-content: center;
    margin-top: 0;
}

.social-section .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    color: #aab;
    padding: 40px 0 30px;
}

.footer-top {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-top p {
    font-size: 0.9rem;
    color: #aab;
    margin-bottom: 5px;
}

.footer-designer {
    font-size: 0.8rem !important;
    color: #777 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links a {
    display: block;
    color: #aab;
    padding: 5px 0;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: #fff;
}

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

/* === ALERT MESSAGES === */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === PAGE HEADER (internal pages) === */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--bg-dark));
    padding: 120px 0 50px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 5px auto 0;
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 8px;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.pagination a {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .current {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

/* === SERVICE DETAIL PAGE === */
.service-detail {
    padding: 50px 0 80px;
}

.service-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-content h3 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.service-detail-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-detail-content ul {
    margin: 15px 0 15px 25px;
    list-style: none;
}

.service-detail-content ul li {
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
}

.service-detail-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-modern-grid { grid-template-columns: 1fr; gap: 52px; }
    .hero-modern-copy { max-width: 760px; }
    .hero-tech-visual { max-width: 760px; width: 100%; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tech-card { grid-template-columns: auto 1fr; }
    .tech-card:nth-child(even) { direction: ltr; }
    .tech-card-img { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-modern { min-height: auto; padding: 122px 0 64px; }
    .hero-modern-grid { gap: 40px; }
    .hero-modern h1 { font-size: clamp(1.95rem, 8vw, 2.75rem); max-width: 100%; }
    .hero-title-line { white-space: normal; }
    .hero-modern-lead { font-size: 1rem; }
    .hero-modern-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .hero-proof-row { gap: 13px; margin-top: 38px; overflow-x: auto; padding-bottom: 4px; }
    .hero-proof-item span { font-size: .7rem; }
    .hero-photo-wrap,
    .hero-photo-wrap img { min-height: 300px; }
    .hero-feature-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .tech-card { grid-template-columns: 1fr; }
    .tech-number { padding: 15px 20px; font-size: 3rem; }
}

@media (max-width: 480px) {
    .hero-modern { padding-top: 112px; }
    .hero-kicker { font-size: .64rem; letter-spacing: .13em; }
    .hero-modern h1 { font-size: 1.7rem; }
    .hero-proof-row { gap: 10px; }
    .hero-proof-divider { display: none; }
    .hero-proof-item { min-width: 92px; }
    .hero-photo-card { padding: 12px; }
    .hero-photo-wrap,
    .hero-photo-wrap img { min-height: 250px; }
    .hero-photo-overlay { left: 12px; right: 12px; bottom: 12px; padding: 14px; }
    .hero-photo-overlay strong { font-size: .96rem; }
    .hero-feature-card { grid-template-columns: 42px 1fr; gap: 12px; padding: 14px; }
    .hero-feature-card p { font-size: .78rem; }
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}

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