/* ==========================================================================
   Modern Dynamic Homepage Styles
   ========================================================================== */
:root {
	--color-bg-dark: #0f2027;
	--color-bg-light: #f8f9fa;
	--color-glass: rgba(255, 255, 255, 0.05);
	--color-glass-border: rgba(255, 255, 255, 0.1);
	--gradient-primary: linear-gradient(135deg, #0a6689 0%, #1B7895 100%);
	--gradient-dark: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.modern-home {
	font-family: 'Inter', sans-serif;
	overflow-x: hidden;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.gsap-hero {
	position: relative;
	height: 100vh;
	min-height: 600px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero-overlay-gradient {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.7) 50%, rgba(44, 83, 100, 0.4) 100%);
	z-index: 2;
}

.hero-content-wrapper {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 0 15px;
}

.gsap-hero-text {
	max-width: 1100px;
	color: #ffffff;
}

.hero-tag {
	display: inline-block;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 5px 15px;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
	backdrop-filter: blur(5px);
}

.hero-title-main {
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 20px;
	color: #ffffff;
}

.text-gradient {
	color: #B4DBDC;
}

.hero-desc {
	font-size: 1.2rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 40px;
	max-width: 600px;
}

.hero-actions {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.btn-modern {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 35px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 30px;
	text-decoration: none !important;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn-modern.primary {
	background: var(--gradient-primary);
	color: #ffffff;
	box-shadow: 0 10px 20px rgba(10, 102, 137, 0.3);
}

.btn-modern.primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 25px rgba(10, 102, 137, 0.5);
	color: #ffffff;
}

.btn-modern.secondary {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(5px);
}

.btn-modern.secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #ffffff;
	color: #ffffff;
	transform: translateY(-3px);
}

/* ==========================================================================
   Infinite Marquee
   ========================================================================== */
.marquee-section {
	padding: 60px 0;
	overflow: hidden;
}

.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: #ffffff; }

.section-title-sm {
	font-size: 1.5rem;
	color: #888;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.marquee-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	width: 150px;
	height: 100%;
	z-index: 2;
}

.marquee-wrapper::before {
	left: 0;
	background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.marquee-wrapper::after {
	right: 0;
	background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

.bg-white .marquee-wrapper::before { background: linear-gradient(to right, #ffffff 0%, transparent 100%); }
.bg-white .marquee-wrapper::after { background: linear-gradient(to left, #ffffff 0%, transparent 100%); }

.marquee-track {
	display: flex;
	width: calc(200px * 17); /* Approx width * number of items */
	animation: scroll 40s linear infinite;
	gap: 40px;
	align-items: center;
}

.marquee-track.reverse {
	animation: scroll-reverse 35s linear infinite;
}

@keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-200px * 17 / 2)); }
}

@keyframes scroll-reverse {
	0% { transform: translateX(calc(-200px * 14 / 2)); }
	100% { transform: translateX(0); }
}

.marquee-item img {
	max-width: 140px;
	max-height: 60px;
	object-fit: contain;
	filter: grayscale(100%) opacity(0.6);
	transition: all 0.3s ease;
}

.marquee-item:hover img {
	filter: grayscale(0%) opacity(1);
	transform: scale(1.05);
}

/* ==========================================================================
   Solutions Modern Grid (Glassmorphism)
   ========================================================================== */
.dark-section {
	background: var(--gradient-dark);
	padding: 100px 0;
	color: #ffffff;
}

.sub-badge {
	display: inline-block;
	color: #1B7895;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
	border: 1px solid var(--color-border);
	padding: 5px 15px;
	border-radius: 20px;
}

.section-title-lg {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 15px;
	color: #ffffff;
}

.section-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 600px;
	margin: 0 auto;
}

.solutions-modern-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.glass-card {
	background: var(--color-glass);
	border: 1px solid var(--color-glass-border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 40px 30px;
	transition: all 0.4s ease;
}

.glass-card:hover {
	transform: translateY(-10px);
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon-wrapper {
	font-size: 2.5rem;
	margin-bottom: 20px;
	display: inline-block;
	background: linear-gradient(135deg, #0a6689, #1B7895);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.card-title {
	font-size: 1.4rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 15px;
}

.card-desc {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin-bottom: 25px;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1B7895;
	font-weight: 600;
	text-decoration: none;
	transition: gap 0.3s ease;
}

.glass-card:hover .card-link {
	gap: 12px;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-us-modern {
	background-color: var(--color-bg-dark);
	padding: 100px 0;
	position: relative;
}

.why-us-modern::before {
	content: '';
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background-image: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
	pointer-events: none;
}

.modern-separator {
	width: 60px;
	height: 4px;
	background: var(--gradient-primary);
	margin: 0 auto;
	border-radius: 2px;
}

.why-us-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.feature-glass-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 50px 35px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
	position: relative;
	overflow: hidden;
	height: 100%;
	min-height: 380px;
}

.feature-glass-item::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; width: 100%; height: 6px;
	background: var(--gradient-primary);
	transition: height 0.5s ease;
	z-index: 0;
}

.feature-glass-item:hover {
	transform: translateY(-20px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-glass-item:hover::after {
	height: 100%;
}

.feature-img-wrapper {
	background: #ffffff;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 35px;
	box-shadow: 0 10px 20px rgba(0,0,0,0.05);
	position: relative;
	z-index: 1;
	transition: transform 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

.feature-glass-item:hover .feature-img-wrapper {
	transform: scale(1.1) translateY(-10px);
	box-shadow: 0 15px 30px rgba(10,102,137,0.2);
}

.feature-img-wrapper svg {
	margin: 0;
	display: block;
	position: relative;
	z-index: 1;
	transition: transform 0.5s ease;
}

.feature-glass-item:hover .feature-img-wrapper svg {
	transform: scale(1.1);
}

.feature-glass-item h4 {
	color: #0f2027;
	font-size: 1.4rem;
	margin-bottom: 20px;
	font-weight: 800;
	position: relative;
	z-index: 1;
	transition: color 0.5s ease;
}

.feature-glass-item p {
	color: #4a5568;
	font-size: 1.05rem;
	line-height: 1.7;
	position: relative;
	z-index: 1;
	transition: color 0.5s ease;
}

.feature-glass-item:hover h4,
.feature-glass-item:hover p {
	color: #ffffff;
}

/* ==========================================================================
   Contact Modern Section
   ========================================================================== */
.contact-modern-section {
	padding: 100px 0;
}

.glass-card-dark {
	background: #111827;
	border-radius: 24px;
	display: flex;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-info-col {
	flex: 1;
	padding: 60px;
	background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.9) 100%), url('https://dinatecnica.com.ar/wp-content/uploads/2025/11/bg-dina.jpg') center/cover;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin-top: 40px;
}

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

.icon-circle {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
}

.contact-list strong {
	display: block;
	margin-bottom: 5px;
}

.contact-list span {
	font-size: 0.95rem;
}

.contact-form-col {
	flex: 1.2;
	padding: 60px;
	background: #ffffff;
}

.form-modern .form-group-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.form-modern input,
.form-modern textarea {
	width: 100%;
	padding: 15px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-family: inherit;
	background: #f9fafb;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.form-modern input:focus,
.form-modern textarea:focus {
	outline: none;
	border-color: #0a6689;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(10, 102, 137, 0.1);
}

.form-modern textarea {
	margin-bottom: 20px;
}

.full-width {
	width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
	.glass-card-dark {
		flex-direction: column;
	}
	.contact-info-col, .contact-form-col {
		padding: 40px;
	}
}

@media (max-width: 768px) {
	.form-modern .form-group-row {
		flex-direction: column;
		gap: 20px;
	}
}

/* ==========================================================================
   SVG Animations
   ========================================================================== */
.anim-ribbon {
	animation: svgBounce 2s infinite alternate ease-in-out;
	transform-origin: center top;
}

.anim-gear {
	animation: svgSpin 12s linear infinite;
	transform-origin: 12px 12px;
}

.anim-pulse {
	animation: svgPulse 2.5s infinite ease-in-out;
}

.anim-globe {
	animation: svgPulse 3s infinite ease-in-out;
	transform-origin: center;
}

.anim-clock-hand {
	animation: svgSpin 6s linear infinite;
	transform-origin: 12px 12px;
}

.anim-lightning {
	animation: svgFlash 1.5s infinite;
}

.anim-speed {
	animation: svgDash 1s linear infinite;
}

.anim-speed-2 {
	animation: svgDash 1.2s linear infinite 0.2s;
}

@keyframes svgBounce {
	0% { transform: scaleY(1); }
	100% { transform: scaleY(1.15); }
}

@keyframes svgSpin {
	100% { transform: rotate(360deg); }
}

@keyframes svgPulse {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.1); opacity: 0.8; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes svgFlash {
	0%, 50%, 100% { opacity: 1; }
	25%, 75% { opacity: 0.5; }
}

@keyframes svgDash {
	0% { transform: translateX(0); opacity: 1; }
	100% { transform: translateX(12px); opacity: 0; }
}


/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-hero-section {
	position: relative;
	padding: 100px 0 60px;
	background: url('../images/contact-bg.jpg') center/cover no-repeat;
	background-color: var(--color-primary-dark);
	color: #fff;
	overflow: hidden;
}

.contact-layout-section {
	padding: 60px 0;
}

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

@media (max-width: 991px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-info-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-info-card {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	padding: 25px;
	transition: transform 0.3s ease;
}

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

.contact-icon {
	font-size: 2rem;
	line-height: 1;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.info-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--color-primary);
}

.info-text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--color-text);
	line-height: 1.5;
}

.info-text a {
	color: var(--color-accent);
	text-decoration: none;
}

.info-text a:hover {
	text-decoration: underline;
}

.contact-form-wrapper {
	padding: 40px;
}

.form-title {
	font-size: 2rem;
	margin-bottom: 10px;
	color: var(--color-primary);
}

.form-subtitle {
	color: #666;
	margin-bottom: 30px;
	font-size: 0.95rem;
}

.modern-contact-form .form-group {
	margin-bottom: 24px;
	position: relative;
}

.modern-contact-form label {
	display: inline-block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-primary-dark);
	letter-spacing: 0.3px;
	transition: color 0.3s ease;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
	width: 100%;
	padding: 14px 18px;
	border: 1px solid rgba(89, 102, 125, 0.15);
	border-radius: 12px;
	background-color: #fafbfc;
	font-family: inherit;
	font-size: 1rem;
	color: var(--color-primary-dark);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 2px 5px rgba(0, 0, 0, 0.01);
}

.modern-contact-form input:hover,
.modern-contact-form select:hover,
.modern-contact-form textarea:hover {
	background-color: #ffffff;
	border-color: rgba(27, 120, 149, 0.3);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01), 0 4px 8px rgba(0, 0, 0, 0.03);
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
	outline: none;
	background-color: #ffffff;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 4px rgba(27, 120, 149, 0.1), 0 6px 15px rgba(27, 120, 149, 0.08);
	transform: translateY(-1px);
}

/* Elegant Submit Button */
.modern-contact-form .wpcf7-submit {
	margin-top: 10px;
	padding: 16px 30px;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	color: #fff;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 4px 15px rgba(27, 120, 149, 0.3);
	text-transform: uppercase;
}

.modern-contact-form .wpcf7-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(27, 120, 149, 0.4);
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

.modern-contact-form .wpcf7-submit:active {
	transform: translateY(1px);
	box-shadow: 0 2px 8px rgba(27, 120, 149, 0.3);
}

.modern-contact-form textarea {
	resize: vertical;
}

.full-width {
	width: 100%;
	padding: 15px;
	font-size: 1.1rem;
}

.contact-map-section {
	margin-top: 40px;
}

.map-wrapper iframe {
	display: block;
	width: 100%;
	filter: grayscale(20%) contrast(1.1);
}