/* ========================================
   ACCORD HORIZON HOLDINGS - Stylesheet
   ======================================== */

:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --primary-light: #14b8a6;
    --primary-bg: #f0fdfa;
    --text-dark: #111827;
    --text: #374151;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

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

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-dark); }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 8px; }
.logo-text { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo-accent { color: var(--primary); }

.nav-links { display: flex; align-items: center; list-style: none; gap: 8px; }
.nav-links a { padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--radius); transition: all var(--transition); }
.nav-links a:hover { color: var(--primary); background: var(--primary-bg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s ease; }

/* ========================================
   BUTTONS
   ======================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; font-size: 15px; font-weight: 500; font-family: inherit; border-radius: var(--radius); border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 1px 2px rgba(15,118,110,0.3); }
.btn-primary:hover { background: var(--primary-dark); color: white; box-shadow: 0 4px 12px rgba(15,118,110,0.3); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.btn-nav { background: var(--primary); color: white !important; padding: 8px 20px; font-size: 14px; }
.btn-nav:hover { background: var(--primary-dark) !important; color: white !important; }
.btn-full { width: 100%; }

/* ========================================
   HERO
   ======================================== */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(15,118,110,0.06) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(15,118,110,0.04) 0%, transparent 70%); border-radius: 50%; }

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-dark); margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; line-height: 1.7; color: var(--text-light); margin-bottom: 36px; max-width: 600px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ========================================
   SECTION COMMON
   ======================================== */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--text-light); line-height: 1.7; }

/* ========================================
   ACTIVITIES
   ======================================== */
.services { padding: 100px 0; background: var(--bg-white); }

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

.service-card { padding: 36px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-xl); transition: all 0.3s ease; }
.service-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.service-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--primary-bg); color: var(--primary); border-radius: var(--radius-lg); margin-bottom: 20px; }
.service-card h3 { font-size: 19px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

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

.about-block { max-width: 800px; margin: 0 auto; }
.about-block h2 { font-size: 36px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px; }
.about-block > p { font-size: 17px; color: var(--text-light); line-height: 1.8; margin-bottom: 48px; }

.about-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid var(--border); }
.about-detail h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.about-detail p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* ========================================
   CONTACT
   ======================================== */
.contact { padding: 100px 0; background: var(--bg-white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.contact-info h2 { font-size: 36px; font-weight: 700; color: var(--text-dark); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
.contact-info p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.contact-item svg { color: var(--primary); flex-shrink: 0; }
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--primary); }

.contact-form-wrapper { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 16px; font-size: 15px; font-family: inherit; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-white); color: var(--text-dark); transition: all var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(20,184,166,0.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-lighter); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }

/* ========================================
   FOOTER
   ======================================== */
.footer { padding: 32px 0; background: var(--text-dark); color: rgba(255,255,255,0.7); }

.footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.footer .logo { margin-bottom: 8px; }
.footer .logo-text { color: white; }
.footer .logo-accent { color: var(--primary-light); }

.footer-legal p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-top: 4px; }

.footer-legal-links { display: flex; gap: 24px; }
.footer-legal-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-legal-links a:hover { color: white; }

/* ========================================
   MODALS
   ======================================== */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); justify-content: center; align-items: center; padding: 24px; }
.modal-overlay.active { display: flex; }

.modal { background: var(--bg-white); border-radius: var(--radius-xl); padding: 48px; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-xl); }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 28px; color: var(--text-light); cursor: pointer; padding: 4px; line-height: 1; transition: color var(--transition); }
.modal-close:hover { color: var(--text-dark); }
.modal h2 { font-size: 24px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.modal h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-top: 24px; margin-bottom: 8px; }
.modal p { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; }

/* ========================================
   FORM SUCCESS
   ======================================== */
.form-success { text-align: center; padding: 40px 20px; }
.form-success svg { color: #10b981; margin-bottom: 16px; }
.form-success h3 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.form-success p { font-size: 15px; color: var(--text-light); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 12px 0; }
    .btn-nav { text-align: center; margin-top: 8px; }

    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }

    .section-header h2, .about-block h2, .contact-info h2 { font-size: 28px; }

    .services-grid { grid-template-columns: 1fr; }
    .about-details { grid-template-columns: 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .footer .footer-bottom { flex-direction: column; align-items: flex-start; }
    .contact-form-wrapper { padding: 24px; }
    .modal { padding: 32px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .service-card { padding: 24px; }
}
