/*
Theme Name: SGW Services
Theme URI: https://sgw.com.br
Author: SGW Services
Author URI: https://sgw.com.br
Description: Tema customizado para a SGW Services - Consultoria Ambiental. Desenvolvido com design system próprio, animações CSS e suporte a ACF.
Version: 4.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://sgw.com.br
Text Domain: sgw-services
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

SGW Services Theme - Consultoria Ambiental
*/

/* ============================================
   SGW SERVICES - DESIGN SYSTEM
   ============================================ */

:root {
    --background: 0 0% 100%;
    --foreground: 187 35% 10%;
    --primary: 187 67% 50%;
    --primary-foreground: 0 0% 100%;
    --secondary: 199 92% 29%;
    --secondary-foreground: 0 0% 100%;
    --muted: 187 15% 96%;
    --muted-foreground: 187 15% 42%;
    --accent: 220 58% 22%;
    --accent-foreground: 0 0% 100%;
    --card: 0 0% 100%;
    --card-foreground: 187 35% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 187 35% 10%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 187 20% 88%;
    --input: 187 20% 88%;
    --ring: 187 67% 50%;
    --radius: 0.75rem;
    --cyan: 187 67% 50%;
    --cyan-dark: 187 60% 38%;
    --cyan-light: 187 70% 65%;
    --blue-medium: 199 92% 29%;
    --blue-bright: 199 85% 42%;
    --navy: 220 58% 22%;
    --gold: 45 90% 50%;
    --gold-light: 45 80% 70%;
    --gray-warm: 187 15% 96%;
    --gray-industrial: 187 15% 35%;
    --gradient-hero: linear-gradient(135deg, hsl(187 60% 38%) 0%, hsl(199 92% 29%) 100%);
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(187 15% 98%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(199 92% 29%) 0%, hsl(187 67% 50%) 100%);
    --shadow-sm: 0 1px 2px 0 hsl(187 35% 10% / 0.05);
    --shadow-md: 0 4px 6px -1px hsl(187 35% 10% / 0.1), 0 2px 4px -2px hsl(187 35% 10% / 0.1);
    --shadow-lg: 0 10px 15px -3px hsl(187 35% 10% / 0.1), 0 4px 6px -4px hsl(187 35% 10% / 0.1);
    --shadow-xl: 0 20px 25px -5px hsl(187 35% 10% / 0.1), 0 8px 10px -6px hsl(187 35% 10% / 0.1);
    --shadow-cyan: 0 10px 40px -10px hsl(187 67% 50% / 0.35);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a { color: hsl(var(--primary)); text-decoration: none; transition: color 0.3s; }
a:hover { color: hsl(var(--cyan-dark)); }

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

/* ============================================
   LAYOUT
   ============================================ */

.sgw-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) { .sgw-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .sgw-container { padding-left: 2rem; padding-right: 2rem; } }

.sgw-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) { .sgw-section { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .sgw-section { padding-top: 8rem; padding-bottom: 8rem; } }

/* ============================================
   ICON SIZE SYSTEM
   ============================================ */

.sgw-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.sgw-icon-sm { width: 0.875rem; height: 0.875rem; }
.sgw-icon-md { width: 1.25rem; height: 1.25rem; }
.sgw-icon-lg { width: 1.5rem; height: 1.5rem; }
.sgw-icon-xl { width: 2rem; height: 2rem; }

/* ============================================
   BUTTONS
   ============================================ */

.sgw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sgw-btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gradient-hero);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-cyan);
    text-decoration: none;
}

.sgw-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px hsl(187 67% 50% / 0.4);
    color: hsl(var(--primary-foreground));
}

.sgw-btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid hsl(var(--primary-foreground));
    color: hsl(var(--primary-foreground));
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sgw-btn-hero-outline:hover {
    background: hsl(var(--primary-foreground) / 0.1);
    transform: translateY(-2px);
    color: hsl(var(--primary-foreground));
}

.sgw-btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}
.sgw-btn-primary:hover {
    background: hsl(var(--cyan-dark));
    color: hsl(var(--primary-foreground));
}

/* ============================================
   CARDS
   ============================================ */

.sgw-bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.5s ease;
    background: linear-gradient(145deg, hsl(0 0% 100%) 0%, hsl(200 10% 98%) 100%);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-lg);
}

.sgw-bento-card:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: var(--shadow-cyan);
}

.sgw-bento-card .sgw-icon-wrapper {
    display: inline-flex;
    padding: 1rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    margin-bottom: 1rem;
}

.sgw-bento-card .sgw-icon-wrapper .sgw-icon,
.sgw-bento-card-icon {
    width: 2rem;
    height: 2rem;
    color: hsl(var(--primary));
}

.sgw-bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(var(--foreground));
}

.sgw-bento-card p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    line-height: 1.6;
}

.sgw-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.5s ease;
    background: var(--gradient-card);
    box-shadow: var(--shadow-md);
}

.sgw-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   HERO SECTION
   ============================================ */

.sgw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sgw-hero-bg {
    position: absolute;
    inset: 0;
}

.sgw-hero-bg video,
.sgw-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sgw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsl(var(--primary) / 0.9), hsl(var(--primary) / 0.7), transparent);
}

.sgw-hero-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--primary) / 0.5), transparent, transparent);
}

.sgw-hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
}

.sgw-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) { .sgw-hero h1 { font-size: 3.75rem; } }
@media (min-width: 768px) { .sgw-hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .sgw-hero h1 { font-size: 5.25rem; } }

.sgw-hero p {
    font-size: 1.5rem;
    color: hsl(var(--primary-foreground)/0.9);
    font-weight: 300;
    margin-bottom: 2rem;
}

@media (min-width: 640px) { .sgw-hero p { font-size: 1.875rem; } }
@media (min-width: 768px) { .sgw-hero p { font-size: 2.25rem; } }

.sgw-hero-gradient {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: var(--gradient-hero);
}

/* ============================================
   PAGE HERO (subpages)
   ============================================ */

.sgw-page-hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: var(--gradient-hero);
}

.sgw-page-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .sgw-page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .sgw-page-hero h1 { font-size: 3.75rem; } }

.sgw-page-hero p {
    font-size: 1.25rem;
    color: hsl(var(--primary-foreground)/0.8);
}

/* ============================================
   NAVBAR
   ============================================ */

.sgw-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.sgw-navbar.transparent {
    background: transparent;
}

.sgw-navbar.scrolled,
.sgw-navbar.solid {
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.sgw-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.sgw-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .sgw-nav-links { display: flex; }
}

.sgw-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}

.sgw-nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    height: 2px;
    width: 0;
    background: currentColor;
    transition: width 0.3s;
}

.sgw-nav-link:hover::after,
.sgw-nav-link.active::after {
    width: 100%;
}

.transparent .sgw-nav-link { color: hsl(var(--primary-foreground) / 0.7); }
.transparent .sgw-nav-link:hover,
.transparent .sgw-nav-link.active { color: hsl(var(--primary-foreground)); }

.sgw-navbar.scrolled .sgw-nav-link,
.sgw-navbar.solid .sgw-nav-link { color: hsl(var(--foreground) / 0.7); }
.sgw-navbar.scrolled .sgw-nav-link:hover,
.sgw-navbar.scrolled .sgw-nav-link.active,
.sgw-navbar.solid .sgw-nav-link:hover,
.sgw-navbar.solid .sgw-nav-link.active { color: hsl(var(--primary)); }

.sgw-mobile-toggle {
    display: block;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

.sgw-mobile-toggle .sgw-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) { .sgw-mobile-toggle { display: none; } }

.sgw-mobile-menu {
    display: none;
    position: fixed;
    inset-x: 0;
    top: 5rem;
    z-index: 40;
    background: hsl(var(--background) / 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.sgw-mobile-menu.open { display: block; }

.sgw-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.7);
    text-decoration: none;
    transition: all 0.2s;
}

.sgw-mobile-menu a:hover,
.sgw-mobile-menu a.active {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

/* Language Switcher */
.sgw-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-left: 1px solid currentColor;
    padding-left: 1rem;
    margin-left: 1rem;
}

.sgw-lang-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sgw-lang-btn.active {
    opacity: 1;
    background: hsl(var(--primary) / 0.2);
    transform: scale(1.1);
}

.sgw-lang-btn:hover { opacity: 0.7; }

.sgw-flag { width: 1.5rem; height: auto; }

/* ============================================
   FOOTER
   ============================================ */

.sgw-footer {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.sgw-footer-main {
    padding: 5rem 0;
}

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

@media (min-width: 640px) { .sgw-footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .sgw-footer-grid { grid-template-columns: repeat(5, 1fr); } }

.sgw-footer h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.sgw-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sgw-footer li {
    margin-bottom: 0.75rem;
}

.sgw-footer a {
    color: hsl(var(--primary-foreground) / 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.sgw-footer a:hover {
    color: hsl(var(--primary-foreground));
}

.sgw-footer-bottom {
    border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
    padding: 1.5rem 0;
}

.sgw-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.6);
}

@media (min-width: 768px) {
    .sgw-footer-bottom-inner { flex-direction: row; }
}

.sgw-footer-bottom a {
    color: hsl(var(--primary-foreground) / 0.6);
}

.sgw-footer-bottom a:hover {
    color: hsl(var(--primary-foreground));
}

/* ============================================
   COUNTERS
   ============================================ */

.sgw-counters {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.sgw-counters-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px);
    background-size: 40px 40px;
}

.sgw-counter-card {
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    background: hsl(var(--primary-foreground) / 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid hsl(var(--primary-foreground) / 0.2);
    transition: background 0.3s;
}

.sgw-counter-card:hover {
    background: hsl(var(--primary-foreground) / 0.15);
}

.sgw-counter-icon {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary-foreground) / 0.1);
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.sgw-counter-icon .sgw-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .sgw-counter-icon .sgw-icon { width: 2rem; height: 2rem; }
}

.sgw-counter-card:hover .sgw-counter-icon {
    transform: scale(1.1);
}

.sgw-counter-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--primary-foreground));
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) { .sgw-counter-number { font-size: 2.25rem; } }
@media (min-width: 1024px) { .sgw-counter-number { font-size: 3rem; } }

.sgw-counter-label {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.7);
}

@media (min-width: 768px) { .sgw-counter-label { font-size: 1rem; } }

/* ============================================
   CERTIFICATION
   ============================================ */

.sgw-cert-badge {
    position: relative;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid hsl(var(--cyan));
    background: linear-gradient(135deg, hsl(187 67% 50% / 0.08) 0%, hsl(199 92% 29% / 0.1) 100%);
}

/* ============================================
   Z-PATTERN SERVICES
   ============================================ */

.sgw-z-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sgw-z-row { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .sgw-z-row.reversed .sgw-z-image { order: 2; }
    .sgw-z-row.reversed .sgw-z-content { order: 1; }
}

.sgw-z-image {
    position: relative;
}

.sgw-z-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.sgw-number-badge {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    color: hsl(var(--primary-foreground));
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .sgw-number-badge { width: 5rem; height: 5rem; font-size: 1.875rem; top: -1.5rem; left: -1.5rem; }
}

/* ============================================
   CONTACT FORM
   ============================================ */

.sgw-form-group {
    margin-bottom: 1.5rem;
}

.sgw-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.sgw-form-input,
.sgw-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--input));
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: border-color 0.3s;
}

.sgw-form-input:focus,
.sgw-form-textarea:focus {
    outline: none;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.sgw-form-textarea {
    resize: none;
    min-height: 8rem;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */

.sgw-contact-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
}

.sgw-contact-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sgw-contact-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sgw-contact-card h3 {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.sgw-contact-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    white-space: pre-line;
}

/* ============================================
   QUOTE CARD
   ============================================ */

.sgw-quote-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    margin-top: 4rem;
}

@media (min-width: 768px) { .sgw-quote-card { padding: 3rem; } }

.sgw-quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary) / 0.2);
}

.sgw-quote-text {
    position: relative;
    z-index: 1;
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) { .sgw-quote-text { font-size: 20px; } }

/* ============================================
   SPLASH LOADER
   ============================================ */

.sgw-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #172C57 0%, #06628D 50%, #2CC1D5 100%);
    transition: opacity 0.4s ease-in-out;
}

.sgw-splash.hidden {
    opacity: 0;
    pointer-events: none;
}

.sgw-water-drop-outer {
    width: 80px;
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sgw-water-drop-inner {
    width: 70px;
    height: 90px;
    position: relative;
    border-radius: 0 50% 50% 50%;
    transform: rotate(-45deg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.sgw-water-drip-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    animation: sgwDripDown 1.5s ease-in-out infinite;
    border-radius: 50% 50% 0 0;
}

.sgw-water-drip-drop {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    animation: sgwDropFall 1.5s ease-in-out infinite;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */

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

.sgw-scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid hsl(var(--primary-foreground) / 0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    animation: sgwBounce 1.5s ease-in-out infinite;
}

.sgw-scroll-dot {
    width: 4px;
    background: hsl(var(--primary-foreground) / 0.5);
    border-radius: 9999px;
    animation: sgwPulse 1.5s ease-in-out infinite;
}

/* ============================================
   FEATURE GRID
   ============================================ */

.sgw-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
}

/* ============================================
   ARTICLES
   ============================================ */

.sgw-article-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.sgw-article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: hsl(var(--accent) / 0.1);
    color: hsl(var(--accent));
}

/* ============================================
   BREADCRUMB
   ============================================ */

.sgw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sgw-breadcrumb a {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.sgw-breadcrumb a:hover {
    color: hsl(var(--primary-foreground));
}

/* ============================================
   404 PAGE
   ============================================ */

.sgw-404 {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: hsl(var(--muted));
}

.sgw-404 h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sgw-404 p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.sgw-animate {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.sgw-fade-up { transform: translateY(30px); }
.sgw-fade-in { }
.sgw-slide-left { transform: translateX(-50px); }
.sgw-slide-right { transform: translateX(50px); }
.sgw-scale-in { transform: scale(0.9); }

.sgw-animate.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.sgw-delay-1 { transition-delay: 0.1s; }
.sgw-delay-2 { transition-delay: 0.2s; }
.sgw-delay-3 { transition-delay: 0.3s; }
.sgw-delay-4 { transition-delay: 0.4s; }
.sgw-delay-5 { transition-delay: 0.5s; }

/* ============================================
   KEYFRAMES
   ============================================ */

@keyframes sgwDripDown {
    0% { height: 0; }
    40% { height: 60%; }
    70% { height: 60%; }
    100% { height: 100%; }
}

@keyframes sgwDropFall {
    0% { top: -6px; opacity: 0; }
    20% { top: 20px; opacity: 1; }
    50% { top: 20px; opacity: 1; }
    80% { top: 80px; opacity: 0.6; }
    100% { top: 90px; opacity: 0; }
}

@keyframes sgwBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes sgwPulse {
    0%, 100% { height: 20%; }
    50% { height: 40%; }
}

@keyframes sgwCountUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes sgwFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   UTILITIES
   ============================================ */

.sgw-text-hero { color: hsl(var(--primary-foreground)); }
.sgw-text-primary { color: hsl(var(--primary)); }
.sgw-text-muted { color: hsl(var(--muted-foreground)); }
.sgw-text-amber { color: #f59e0b; }
.sgw-bg-hero { background: var(--gradient-hero); }
.sgw-bg-muted { background: hsl(var(--muted)); }
.sgw-bg-card { background: hsl(var(--card)); }

.sgw-grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sgw-grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.sgw-grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 640px) {
    .sgw-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .sgw-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .sgw-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sgw-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .sgw-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   LOGIN FORM (Footer)
   ============================================ */

.sgw-login-form input[type="text"],
.sgw-login-form input[type="password"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid hsl(var(--primary-foreground) / 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: hsl(var(--primary-foreground) / 0.1);
    color: hsl(var(--primary-foreground));
}

.sgw-login-form input::placeholder {
    color: hsl(var(--primary-foreground) / 0.5);
}

.sgw-login-form input:focus {
    outline: none;
    border-color: hsl(var(--gold));
}

.sgw-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: hsl(var(--gold));
    color: hsl(var(--navy));
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.sgw-login-btn:hover {
    background: hsl(var(--gold-light));
}

/* ============================================
   SOCIAL LINKS
   ============================================ */

.sgw-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.sgw-social-link:hover {
    background: hsl(var(--primary-foreground) / 0.2);
}

.sgw-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary-foreground) / 0.1);
    transition: background 0.3s;
}

.sgw-social-link:hover .sgw-social-icon {
    background: hsl(var(--primary-foreground) / 0.2);
}

/* ============================================
   EXPERTISE/VALUE CARDS
   ============================================ */

.sgw-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    margin-bottom: 1rem;
}

.sgw-value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: var(--gradient-hero);
    color: hsl(var(--primary-foreground));
}

.sgw-value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sgw-value-card p {
    color: hsl(var(--primary-foreground)/0.8);
}

.sgw-value-card .sgw-icon-circle {
    background: hsl(var(--primary-foreground) / 0.1);
}

.sgw-value-card .sgw-icon-circle .sgw-icon {
    color: hsl(var(--primary-foreground));
}

/* ============================================
   TECHNIQUES GRID
   ============================================ */

.sgw-technique-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    transition: all 0.3s;
}

.sgw-technique-card:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: var(--shadow-md);
}

.sgw-technique-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sgw-technique-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.sgw-technique-en {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   IFRAME MAPS
   ============================================ */

.sgw-map {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid hsl(var(--border));
    aspect-ratio: 4/3;
}

.sgw-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   GRID RESPONSIVO ALTERNADO
   ============================================ */

@media (min-width: 768px) {
    .sgw-grid-2-responsive { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.sgw-content-section {
    margin-bottom: 3rem;
}

.sgw-content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.sgw-content-section p {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sgw-content-section h2 { font-size: 1.875rem; }
}

/* ============================================
   STEP LIST
   ============================================ */

.sgw-step-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    counter-reset: step-counter;
}

.sgw-step-list li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(var(--border));
}

.sgw-step-list li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================
   CAPABILITY CARDS
   ============================================ */

.sgw-capability-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    text-align: center;
    transition: all 0.3s;
}

.sgw-capability-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.sgw-capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    margin-bottom: 1rem;
}

.sgw-capability-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sgw-capability-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   STANDARDS LIST
   ============================================ */

.sgw-standard-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
}

.sgw-standard-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.sgw-standard-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   CTA SECTION
   ============================================ */

.sgw-cta-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    text-align: center;
    color: hsl(var(--primary-foreground));
}

.sgw-cta-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--primary-foreground));
}

@media (min-width: 768px) { .sgw-cta-section h2 { font-size: 2.25rem; } }

.sgw-cta-section p {
    font-size: 1.125rem;
    color: hsl(var(--primary-foreground) / 0.8);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SECTION HEADING
   ============================================ */

.sgw-section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.sgw-section-heading h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) { .sgw-section-heading h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .sgw-section-heading h2 { font-size: 3rem; } }

.sgw-section-heading p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 40rem;
    margin: 0 auto;
}

/* ============================================
   BENTO GRID INLINE SPACING
   ============================================ */

.sgw-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) { .sgw-bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sgw-bento-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================
   HEADER ADDITIONS
   ============================================ */

.sgw-nav-right {
    display: flex;
    align-items: center;
}

.sgw-toggle-icon {
    color: hsl(var(--foreground));
}

.transparent .sgw-toggle-icon { color: hsl(var(--primary-foreground)); }

.sgw-mobile-lang-row {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

.sgw-mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.7);
    text-decoration: none;
    transition: all 0.2s;
}

.sgw-mobile-lang-btn.active {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

/* ============================================
   FOOTER ADDITIONS
   ============================================ */

.sgw-footer-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.sgw-footer-feature-icon {
    color: hsl(var(--gold));
    flex-shrink: 0;
}

.sgw-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.sgw-footer-contact-item:last-child {
    margin-bottom: 0;
}

.sgw-footer-contact-icon {
    color: hsl(var(--gold));
    flex-shrink: 0;
    margin-top: 2px;
}

.sgw-social-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sgw-login-label {
    display: block;
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.7);
    margin-bottom: 0.25rem;
}

.sgw-login-field {
    margin-bottom: 1rem;
}

.sgw-login-row {
    display: flex;
    gap: 0.5rem;
}

.sgw-footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sgw-footer-logo {
    height: 2rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.sgw-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ============================================
   COUNTER ADDITIONS
   ============================================ */

.sgw-counters-inner {
    position: relative;
    z-index: 10;
}

.sgw-counters .sgw-section-heading h2 {
    color: hsl(var(--primary-foreground));
}

.sgw-counters .sgw-section-heading p {
    color: hsl(var(--primary-foreground) / 0.8);
}

.sgw-counter-svg {
    color: hsl(var(--gold));
}

/* ============================================
   CERTIFICATION SECTION
   ============================================ */

.sgw-section-certification {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* ============================================
   CERTIFICATION ADDITIONS
   ============================================ */

.sgw-cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sgw-cert-badge {
        flex-direction: row;
        gap: 3rem;
    }
}

.sgw-cert-badge-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-hero);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .sgw-cert-badge-circle { width: 6rem; height: 6rem; }
}

.sgw-cert-badge-icon {
    color: white;
    width: 2.5rem;
    height: 2.5rem;
}

@media (min-width: 768px) {
    .sgw-cert-badge-icon { width: 3rem; height: 3rem; }
}

.sgw-cert-content {
    text-align: center;
}

@media (min-width: 768px) {
    .sgw-cert-content { text-align: left; }
}

.sgw-cert-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .sgw-cert-title { justify-content: flex-start; }
}

.sgw-cert-check {
    color: hsl(var(--primary));
    flex-shrink: 0;
}

.sgw-cert-desc {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .sgw-cert-desc { margin-left: 0; }
}

/* ============================================
   HERO ADDITIONS
   ============================================ */

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

/* ============================================
   BENTO ADDITIONS
   ============================================ */

.sgw-bento-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.sgw-bento-logo-img {
    height: 6rem;
    display: inline-block;
}

@media (min-width: 768px) { .sgw-bento-logo-img { height: 7rem; } }
@media (min-width: 1024px) { .sgw-bento-logo-img { height: 9rem; } }

.sgw-bento-card-icon {
    color: hsl(var(--primary));
}

.sgw-bento-cards {
    margin-bottom: 3rem;
}

.sgw-bento-impact {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.sgw-bento-impact-card {
    padding: 2rem;
    border-radius: 1rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sgw-bento-impact p {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    font-size: 1.125rem;
    margin: 0;
}

/* ============================================
   SERVICES QUICK ADDITIONS
   ============================================ */

.sgw-services-quick-grid {
    margin-bottom: 3rem;
}

.sgw-service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sgw-service-letter {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sgw-service-icon-wrap {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sgw-service-icon-wrap .sgw-icon {
    color: hsl(var(--primary));
    opacity: 0.6;
}

.sgw-service-card:hover .sgw-service-icon-wrap .sgw-icon {
    opacity: 1;
}

.sgw-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    font-size: 0.875rem;
}

.sgw-services-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   WELCOME ADDITIONS
   ============================================ */

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

@media (min-width: 1024px) {
    .sgw-welcome-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}

.sgw-welcome-image {
    position: relative;
}

.sgw-welcome-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

.sgw-welcome-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sgw-welcome-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: var(--gradient-hero);
    border-radius: 1rem;
    z-index: -10;
}

.sgw-welcome-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .sgw-welcome-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .sgw-welcome-title { font-size: 3rem; } }

.sgw-welcome-desc {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sgw-welcome-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
}

.sgw-quote-icon-placeholder {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 3rem;
    height: 3rem;
    color: hsl(var(--primary) / 0.2);
}

/* ============================================
   PAGE HERO ADDITIONS
   ============================================ */

.sgw-page-hero-content {
    max-width: 48rem;
}

.sgw-page-hero-centered {
    text-align: center;
}

.sgw-page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: hsl(var(--primary-foreground));
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.sgw-page-hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--primary-foreground) / 0.8);
    max-width: 40rem;
    margin: 0 auto;
}

.sgw-page-hero-compact {
    min-height: auto;
    padding-bottom: 3rem;
}

.sgw-breadcrumb-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sgw-breadcrumb-link {
    font-size: 0.875rem;
    color: hsl(var(--primary-foreground) / 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
}

.sgw-breadcrumb-link:hover {
    color: hsl(var(--primary-foreground));
}

.sgw-icon-wrapper {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: hsl(var(--primary) / 0.1);
    align-items: center;
    justify-content: center;
}

.sgw-icon-wrapper-sm {
    padding: 0.5rem;
}

/* ============================================
   ARTICLES ADDITIONS
   ============================================ */

.sgw-articles-list {
    max-width: 56rem;
    margin: 0 auto;
}

.sgw-article-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sgw-article-content {
    flex: 1;
}

.sgw-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.sgw-article-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.sgw-article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sgw-article-title a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.3s;
}

.sgw-article-title a:hover {
    color: hsl(var(--primary));
}

.sgw-article-excerpt {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sgw-article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.sgw-article-link:hover {
    text-decoration: underline;
}

.sgw-article-divider {
    margin-top: 2rem;
    border-bottom: 1px solid hsl(var(--border));
}

.sgw-no-articles {
    text-align: center;
    color: hsl(var(--muted-foreground));
    padding: 4rem 0;
}

/* ============================================
   SINGLE ARTICLE ADDITIONS
   ============================================ */

.sgw-article-hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: hsl(var(--primary-foreground) / 0.7);
    font-size: 0.875rem;
}

.sgw-article-detail {
    max-width: 48rem;
    margin: 0 auto;
}

.sgw-article-detail-thumb {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sgw-article-detail-img {
    width: 100%;
    height: auto;
}

.sgw-article-detail-content {
    color: hsl(var(--foreground));
    line-height: 1.8;
    font-size: 1.0625rem;
}

.sgw-article-detail-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
}

.sgw-article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: none;
}

.sgw-article-back-link:hover {
    text-decoration: underline;
}

/* ============================================
   SERVICE DETAIL ADDITIONS
   ============================================ */

.sgw-breadcrumb-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sgw-service-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .sgw-service-content-grid { grid-template-columns: repeat(2, 1fr); }
}

.sgw-service-hero-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.sgw-service-text {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sgw-service-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.sgw-service-text p {
    margin-bottom: 1rem;
}

.sgw-service-text ul {
    list-style: disc;
    margin: 0 0 1rem 1.5rem;
}

.sgw-service-text li {
    margin-bottom: 0.5rem;
}

.sgw-service-text > *:first-child {
    margin-top: 0;
}

.sgw-service-text > *:last-child {
    margin-bottom: 0;
}

.sgw-service-section {
    margin-top: 4rem;
}

.sgw-service-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sgw-service-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sgw-service-grid-gap {
    gap: 1rem;
    margin-top: 1.5rem;
}

.sgw-btn-hero-white {
    background: white;
    color: hsl(var(--primary));
}

.sgw-btn-hero-white:hover {
    background: hsl(var(--primary-foreground) / 0.1);
    color: hsl(var(--primary));
}

/* ============================================
   CONTACT ADDITIONS
   ============================================ */

.sgw-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .sgw-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.sgw-contact-form-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sgw-contact-form-subtitle {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.sgw-form-submit {
    width: 100%;
    height: 3rem;
}

.sgw-form-message {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
}

.sgw-contact-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sgw-contact-cards {
    gap: 1rem;
    margin-bottom: 2rem;
}

.sgw-contact-map {
    margin-bottom: 2rem;
}

.sgw-contact-divider {
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

.sgw-contact-about {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--gradient-hero);
    color: hsl(var(--primary-foreground));
    margin-top: 2rem;
}

.sgw-contact-about h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.sgw-contact-about p {
    color: hsl(var(--primary-foreground) / 0.8);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.sgw-contact-about p:last-child {
    margin-bottom: 0;
}

.sgw-wa-icon {
    color: hsl(var(--primary));
    flex-shrink: 0;
}

/* ============================================
   EMPRESA ADDITIONS
   ============================================ */

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

@media (min-width: 1024px) {
    .sgw-tech-grid { grid-template-columns: repeat(2, 1fr); }
}

.sgw-tech-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sgw-tech-desc {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.sgw-tech-equip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.sgw-tech-equip-card {
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
}

.sgw-tech-equip-card p {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.sgw-tech-equip-icon {
    color: hsl(var(--primary));
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    display: block;
}

.sgw-tech-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sgw-tech-img-wrap {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.sgw-tech-img-offset {
    margin-top: 0;
}

.sgw-clients-img {
    max-width: 48rem;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid hsl(var(--border));
}

.sgw-clients-img img {
    width: 100%;
    height: auto;
}

.sgw-satisfaction-heading {
    margin-top: 40px;
}

.sgw-satisfaction-img {
    max-width: 48rem;
    margin: 2rem auto 0;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid hsl(var(--border));
}

.sgw-satisfaction-img img {
    width: 100%;
    height: auto;
}

.sgw-satisfaction-card {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sgw-satisfaction-number {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}

.sgw-satisfaction-card h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sgw-satisfaction-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   SERVICOS ADDITIONS
   ============================================ */

.sgw-z-pattern-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.sgw-z-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sgw-z-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.sgw-z-desc {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sgw-z-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sgw-z-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: none;
}

.sgw-z-link:hover {
    text-decoration: underline;
}

.sgw-feature-item .sgw-icon {
    color: hsl(var(--primary));
    flex-shrink: 0;
}

/* ============================================
   404 ADDITIONS
   ============================================ */

.sgw-404-content {
    text-align: center;
}

.sgw-404-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   ACCREDITATION ADDITIONS
   ============================================ */

.sgw-narrow-content {
    max-width: 64rem;
}

.sgw-content-lead {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.sgw-content-link {
    color: hsl(var(--primary));
    font-weight: 600;
    text-decoration: none;
}

.sgw-content-link:hover {
    text-decoration: underline;
}

.sgw-acreditation-img {
    border-radius: 1rem;
    overflow: hidden;
    margin: 2rem 0;
}

.sgw-acreditation-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.sgw-acreditation-btn {
    margin: 2rem 0;
}
