/* ===================================================
   Global CSS - Base styles, resets, variables, common components
   =================================================== */

/* CSS Variables */
:root {
	--acc-white: #ffffff;
	--acc-black: #111111;
	--acc-navy: #0a1628;
	--acc-navy-light: #0f1f3d;
	--acc-hyundai-blue: #002c5f;
	--acc-hyundai-blue-light: #003d80;
	--acc-blue: #0066b3;
	--acc-blue-light: #e8f4fd;
	--acc-gray-50: #f8f9fa;
	--acc-gray-100: #f1f3f5;
	--acc-gray-200: #e9ecef;
	--acc-gray-300: #dee2e6;
	--acc-gray-400: #ced4da;
	--acc-gray-500: #adb5bd;
	--acc-gray-600: #868e96;
	--acc-gray-700: #495057;
	--acc-gray-800: #343a40;
	--acc-gray-900: #212529;
	--acc-red: #c41e3a;
	--acc-red-light: #ff4757;
	--acc-gold: #c9a84c;
	--acc-gold-light: #e8d5a0;
	--acc-green: #28a745;
	--acc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--acc-radius-sm: 8px;
	--acc-radius: 16px;
	--acc-radius-lg: 24px;
	--acc-radius-xl: 32px;
	--acc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--acc-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	--acc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
	--acc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
	--acc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--acc-container: 1320px;
}

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

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

body {
	font-family: var(--acc-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--acc-gray-800);
	background: var(--acc-white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--acc-hyundai-blue);
	text-decoration: none;
	transition: color var(--acc-transition);
}

a:hover {
	color: var(--acc-blue);
}

ul,
ol {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

button {
	font-family: var(--acc-font);
	cursor: pointer;
	border: none;
	background: none;
}

input,
select,
textarea {
	font-family: var(--acc-font);
	font-size: 16px;
}

/* Container */
.acc-container {
	width: 100%;
	max-width: var(--acc-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* Section Common */
.acc-section {
	padding: 84px 0;
}

.acc-section__header {
	text-align: center;
	margin-bottom: 48px;
}

.acc-section__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: var(--acc-hyundai-blue);
	margin-bottom: 12px;
	text-transform: uppercase;
}

.acc-section__label--light {
	color: var(--acc-gold);
}

.acc-section__heading {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--acc-navy);
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.acc-section__heading--light {
	color: var(--acc-white);
}

.acc-section__title {
	font-size: 36px;
	font-weight: 800;
	color: var(--acc-navy);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.acc-section__desc {
	font-size: 16px;
	color: var(--acc-gray-600);
	line-height: 1.7;
	max-width: 560px;
	margin-bottom: 24px;
}

.acc-section__desc--light {
	color: rgba(255, 255, 255, 0.75);
}

.acc-section__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* Buttons */
.acc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	border-radius: var(--acc-radius-sm);
	transition: all var(--acc-transition);
	white-space: nowrap;
	line-height: 1.2;
	position: relative;
	overflow: hidden;
}

.acc-btn--primary {
	background: var(--acc-hyundai-blue);
	color: var(--acc-white);
}

.acc-btn--primary:hover {
	background: var(--acc-hyundai-blue-light);
	transform: translateY(-1px);
	box-shadow: var(--acc-shadow);
}

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

.acc-btn--outline:hover {
	background: var(--acc-hyundai-blue);
	color: var(--acc-white);
}

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

.acc-btn--outline-light:hover {
	background: var(--acc-white);
	color: var(--acc-navy);
}

.acc-btn--gold {
	background: linear-gradient(135deg, var(--acc-gold), #b8933a);
	color: var(--acc-white);
	font-size: 16px;
	padding: 16px 40px;
	border-radius: var(--acc-radius);
}

.acc-btn--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.acc-btn__loading {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: var(--acc-white);
	border-radius: 50%;
	animation: acc-spin 0.6s linear infinite;
	position: absolute;
}

@keyframes acc-spin {
	to { transform: rotate(360deg); }
}

/* Form */
.acc-form__group {
	margin-bottom: 16px;
}

.acc-form__input,
.acc-form__select {
	width: 100%;
	padding: 7px 18px;
	border: 2px solid var(--acc-gray-200);
	border-radius: var(--acc-radius-sm);
	font-size: 15px;
	color: var(--acc-gray-800);
	background: var(--acc-white);
	transition: border-color var(--acc-transition), box-shadow var(--acc-transition);
	outline: none;
}

.acc-form__input:focus,
.acc-form__select:focus {
	border-color: var(--acc-hyundai-blue);
	box-shadow: 0 0 0 3px rgba(0, 44, 95, 0.1);
}

.acc-form__input::placeholder {
	color: var(--acc-gray-500);
}

.acc-form__select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23868e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
}

.acc-form__submit {
	width: 100%;
	padding: 16px 32px;
	font-size: 16px;
}

.acc-form__message {
	margin-top: 12px;
	padding: 12px 16px;
	border-radius: var(--acc-radius-sm);
	font-size: 14px;
	line-height: 1.5;
}

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

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

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

.acc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--acc-white);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform var(--acc-transition), box-shadow var(--acc-transition);
	height: 72px;
}

.acc-header--sticky {
	box-shadow: var(--acc-shadow);
}

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

.acc-header__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.acc-header__logo-img {
	height: 40px;
	width: auto;
}

.acc-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.acc-header__menu {
	display: flex;
	gap: 4px;margin: 0px;
}

.acc-header__menu-link {
	display: block;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 500;
	color: var(--acc-gray-700);
	border-radius: var(--acc-radius-sm);
	transition: all var(--acc-transition);
	white-space: nowrap;
}

.acc-header__menu-link:hover {
	color: var(--acc-hyundai-blue);
	background: var(--acc-blue-light);
}

.acc-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.acc-header__hotline {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--acc-hyundai-blue);
}

.acc-header__hotline:hover {
	color: var(--acc-blue);
}

.acc-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
}

.acc-header__toggle-bar {
	width: 24px;
	height: 2px;
	background: var(--acc-gray-800);
	border-radius: 2px;
	transition: all var(--acc-transition);
}

.acc-header__toggle--active .acc-header__toggle-bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.acc-header__toggle--active .acc-header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.acc-header__toggle--active .acc-header__toggle-bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

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

.acc-footer {
	background: var(--acc-navy);
	color: rgba(255, 255, 255, 0.7);
	padding: 72px 0 0;
}

.acc-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
}

.acc-footer__col {
	min-width: 0;
}

.acc-footer__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--acc-white);
	margin-bottom: 20px;
}

.acc-footer__text {
	margin-bottom: 16px;
	line-height: 1.6;
}

.acc-footer__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 0;
}

.acc-footer__info li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.acc-footer__info li svg {
	flex-shrink: 0;
	margin-top: 2px;
	opacity: 0.6;
}

.acc-footer__info li a {
	color: rgba(255, 255, 255, 0.7);
}

.acc-footer__info li a:hover {
	color: var(--acc-white);
}

.acc-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 0;
}

.acc-footer__links a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	transition: color var(--acc-transition);
}

.acc-footer__links a:hover {
	color: var(--acc-white);
}

.acc-footer__bottom {
	margin-top: 48px;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.4);
}

/* ===================================================
   POPUP
   =================================================== */

.acc-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	visibility: hidden;
	opacity: 0;
	transition: visibility var(--acc-transition), opacity var(--acc-transition);
}

.acc-popup--active {
	visibility: visible;
	opacity: 1;
}

.acc-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
}

.acc-popup__box {
	position: relative;
	background: var(--acc-white);
	border-radius: var(--acc-radius-lg);
	padding: 48px 40px 40px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--acc-shadow-xl);
	transform: translateY(20px);
	transition: transform var(--acc-transition);
}

.acc-popup--active .acc-popup__box {
	transform: translateY(0);
}

.acc-popup__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--acc-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--acc-gray-600);
	transition: all var(--acc-transition);
}

.acc-popup__close:hover {
	background: var(--acc-gray-200);
	color: var(--acc-gray-900);
}

.acc-popup__dealer {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: var(--acc-hyundai-blue);
	margin-bottom: 8px;
	text-transform: uppercase;
}

.acc-popup__heading {
	font-size: 24px;
	font-weight: 800;
	color: var(--acc-navy);
	margin-bottom: 8px;
	line-height: 1.3;
}

.acc-popup__desc {
	font-size: 14px;
	color: var(--acc-gray-600);
	margin-bottom: 24px;
	line-height: 1.5;
}

/* ===================================================
   MAIN
   =================================================== */

.acc-main {
	padding-top: 72px;
}
