/* ========================================
   SERVICIOS PAGE STYLES
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ---- Hero Section ---- */

.serv-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 2rem;
	background: linear-gradient(
		160deg,
		#fff 0%,
		#fffbea 30%,
		#ffe38f70 60%,
		#ffbf0040 100%
	);
	background-size: 300% 300%;
	animation: heroGradient 12s ease infinite;
	overflow: hidden;
}

.serv-hero::before {
	content: "";
	position: absolute;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255, 191, 0, 0.25), transparent 70%);
	top: -100px;
	right: -100px;
	border-radius: 50%;
	filter: blur(60px);
	animation: floatBlob 8s ease-in-out infinite;
	z-index: 0;
}

.serv-hero::after {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(255, 191, 0, 0.2), transparent 70%);
	bottom: -80px;
	left: -80px;
	border-radius: 50%;
	filter: blur(50px);
	animation: floatBlob 10s ease-in-out infinite reverse;
	z-index: 0;
}

@keyframes heroGradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes floatBlob {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -20px) scale(1.1);
	}
	66% {
		transform: translate(-20px, 15px) scale(0.95);
	}
}

.serv-hero-content {
	position: relative;
	z-index: 1;
	max-width: 700px;
}

.serv-hero-content .serv-badge {
	display: inline-block;
	background: rgba(255, 191, 0, 0.15);
	color: #b38600;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.4rem 1.2rem;
	border-radius: 50px;
	margin-bottom: 1.5rem;
	letter-spacing: 0.5px;
	border: 1px solid rgba(255, 191, 0, 0.3);
}

.serv-hero-content h1 {
	font-family: "Inter", sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	color: #1a1a1a;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.serv-hero-content h1 span {
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.serv-hero-content p {
	font-size: 1.15rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
}

.serv-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #1a1a1a;
	font-weight: 700;
	font-size: 1.1rem;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 4px 15px rgba(255, 191, 0, 0.35);
	text-decoration: none;
}

.serv-hero-cta:hover {
	transform: translateY(-4px) scale(1.05);
	box-shadow: 0 8px 30px rgba(255, 191, 0, 0.5);
}

.serv-hero-cta i {
	font-size: 1.2rem;
	transition: transform 0.3s ease;
}

.serv-hero-cta:hover i {
	transform: translateX(4px);
}

/* ---- Section Common ---- */

.serv-section {
	padding: 5rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.serv-section-title {
	text-align: center;
	font-family: "Inter", sans-serif;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 0.5rem;
}

.serv-section-subtitle {
	text-align: center;
	font-size: 1rem;
	color: #777;
	margin-bottom: 3rem;
}

/* ---- Services Grid ---- */

.serv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.serv-card {
	position: relative;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 191, 0, 0.15);
	border-radius: 20px;
	padding: 2rem 1.5rem;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	overflow: hidden;
}

.serv-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #ffbf00, #ffe082);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.serv-card:hover::before {
	transform: scaleX(1);
}

.serv-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(255, 191, 0, 0.2);
	border-color: rgba(255, 191, 0, 0.4);
}

.serv-card-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: linear-gradient(
		135deg,
		rgba(255, 191, 0, 0.15),
		rgba(255, 191, 0, 0.05)
	);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.2rem;
	font-size: 1.6rem;
	color: #d4a000;
	transition: all 0.3s ease;
}

.serv-card:hover .serv-card-icon {
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #fff;
	transform: scale(1.1) rotate(5deg);
}

.serv-card h3 {
	font-family: "Inter", sans-serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.7rem;
}

.serv-card p {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 1.2rem;
}

.serv-card-price {
	display: inline-block;
	background: linear-gradient(
		135deg,
		rgba(255, 191, 0, 0.12),
		rgba(255, 191, 0, 0.05)
	);
	color: #b38600;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.5rem 1.2rem;
	border-radius: 50px;
	border: 1px solid rgba(255, 191, 0, 0.2);
}

/* ---- Packages Section ---- */

.serv-packages-bg {
	background: linear-gradient(180deg, #fff 0%, #fffdf5 50%, #fff 100%);
	padding: 5rem 0;
}

.serv-packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	max-width: 750px;
	margin: 0 auto;
}

.serv-package {
	position: relative;
	background: #fff;
	border: 2px solid rgba(255, 191, 0, 0.2);
	border-radius: 24px;
	padding: 2.5rem 2rem;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	overflow: hidden;
}

.serv-package:hover {
	transform: translateY(-8px);
	box-shadow: 0 16px 50px rgba(255, 191, 0, 0.2);
	border-color: #ffbf00;
}

.serv-package-badge {
	position: absolute;
	top: 16px;
	right: -30px;
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #1a1a1a;
	font-size: 0.7rem;
	font-weight: 800;
	padding: 0.35rem 2.5rem;
	transform: rotate(35deg);
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(255, 191, 0, 0.3);
}

.serv-package-tag {
	display: inline-block;
	background: rgba(255, 191, 0, 0.12);
	color: #b38600;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.3rem 0.9rem;
	border-radius: 50px;
	margin-bottom: 1rem;
	letter-spacing: 0.3px;
}

.serv-package h3 {
	font-family: "Inter", sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.5rem;
}

.serv-package .serv-pkg-desc {
	font-size: 0.85rem;
	color: #888;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}

.serv-package-original {
	display: block;
	font-size: 1.1rem;
	font-weight: 500;
	color: #bbb;
	text-decoration: line-through;
	margin-bottom: 0.2rem;
}

.serv-package-price {
	font-family: "Inter", sans-serif;
	font-size: 2.5rem;
	font-weight: 800;
	color: #1a1a1a;
	margin-bottom: 0.3rem;
}

.serv-package-price span {
	font-size: 1rem;
	font-weight: 500;
	color: #999;
}

.serv-package-period {
	font-size: 0.8rem;
	color: #aaa;
	margin-bottom: 1.5rem;
}

.serv-package-features {
	text-align: left;
	margin-bottom: 2rem;
	padding: 0;
}

.serv-package-features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.9rem;
	color: #555;
	padding: 0.4rem 0;
	list-style: none;
}

.serv-package-features li i {
	color: #ffbf00;
	font-size: 1rem;
	margin-top: 2px;
	flex-shrink: 0;
}

.serv-package-cta {
	display: inline-block;
	width: 100%;
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #1a1a1a;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.9rem 2rem;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(255, 191, 0, 0.25);
}

.serv-package-cta:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 25px rgba(255, 191, 0, 0.4);
}

/* ---- Portfolio Section ---- */

.serv-portfolio-bg {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	padding: 5rem 2rem;
}

.serv-portfolio-card {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 191, 0, 0.2);
	border-radius: 24px;
	padding: 3rem 2rem;
	transition: all 0.4s ease;
}

.serv-portfolio-card:hover {
	border-color: rgba(255, 191, 0, 0.5);
	box-shadow: 0 12px 40px rgba(255, 191, 0, 0.15);
}

.serv-portfolio-card .serv-port-icon {
	font-size: 2.5rem;
	color: #ffbf00;
	margin-bottom: 1rem;
}

.serv-portfolio-card h3 {
	font-family: "Inter", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
}

.serv-portfolio-card p {
	font-size: 0.95rem;
	color: #aaa;
	line-height: 1.6;
	margin-bottom: 2rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.serv-portfolio-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: transparent;
	color: #ffbf00;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.8rem 2rem;
	border: 2px solid #ffbf00;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.serv-portfolio-link:hover {
	background: #ffbf00;
	color: #1a1a1a;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(255, 191, 0, 0.35);
}

.serv-portfolio-link i {
	transition: transform 0.3s ease;
}

.serv-portfolio-link:hover i {
	transform: translateX(4px);
}

/* ---- Contact Section ---- */

.serv-contact-section {
	padding: 5rem 2rem;
	background: #fff;
}

.serv-contact-wrapper {
	max-width: 600px;
	margin: 0 auto;
}

.serv-form {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.serv-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.serv-form-group label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #444;
	letter-spacing: 0.3px;
}

.serv-form-group input,
.serv-form-group select,
.serv-form-group textarea {
	width: 100%;
	padding: 0.9rem 1.2rem;
	border: 2px solid #e8e8e8;
	border-radius: 12px;
	font-size: 0.95rem;
	font-family: "Inter", sans-serif;
	color: #333;
	background: #fafafa;
	transition: all 0.3s ease;
	outline: none;
}

.serv-form-group input:focus,
.serv-form-group select:focus,
.serv-form-group textarea:focus {
	border-color: #ffbf00;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.1);
}

.serv-form-group input::placeholder,
.serv-form-group textarea::placeholder {
	color: #bbb;
}

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

.serv-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
}

.serv-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #1a1a1a;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 1rem 2rem;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 4px 15px rgba(255, 191, 0, 0.3);
	margin-top: 0.5rem;
	width: 100%;
}

.serv-form-submit:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 8px 25px rgba(255, 191, 0, 0.45);
}

.serv-form-submit:active {
	transform: scale(0.98);
}

.serv-form-submit i {
	font-size: 1.1rem;
}

/* Success toast */
.serv-toast {
	position: fixed;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%) translateY(100px);
	background: #1a1a1a;
	color: #fff;
	padding: 1rem 2rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	opacity: 0;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	pointer-events: none;
}

.serv-toast.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.serv-toast i {
	color: #ffbf00;
	font-size: 1.2rem;
}

/* ---- Footer ---- */

.serv-footer {
	text-align: center;
	padding: 2rem;
	background: #1a1a1a;
	color: #666;
	font-size: 0.85rem;
	border-top: 1px solid rgba(255, 191, 0, 0.15);
}

.serv-footer span {
	color: #ffbf00;
	font-weight: 600;
}

/* ---- Currency Toggle ---- */

.currency-toggle {
	display: flex;
	justify-content: center;
	gap: 0;
	margin-bottom: 2.5rem;
	background: rgba(255, 191, 0, 0.08);
	border: 2px solid rgba(255, 191, 0, 0.2);
	border-radius: 50px;
	padding: 0.3rem;
	max-width: 220px;
	margin-left: auto;
	margin-right: auto;
}

.currency-btn {
	flex: 1;
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 50px;
	background: transparent;
	color: #888;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: "Inter", sans-serif;
}

.currency-btn:hover {
	color: #b38600;
}

.currency-btn.active {
	background: linear-gradient(135deg, #ffbf00, #e6a800);
	color: #1a1a1a;
	box-shadow: 0 2px 10px rgba(255, 191, 0, 0.35);
	font-weight: 700;
}

.dolar-rate-info {
	text-align: center;
	font-size: 0.8rem;
	color: #10b981;
	font-weight: 600;
	margin-top: -1.5rem;
	margin-bottom: 2rem;
}

/* ---- Plan Contact Modal ---- */

.plan-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.plan-modal-overlay.show {
	opacity: 1;
	pointer-events: all;
}

.plan-modal {
	background: #fff;
	border-radius: 24px;
	max-width: 520px;
	width: 100%;
	padding: 2.5rem 2rem;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	transform: translateY(30px) scale(0.95);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.plan-modal-overlay.show .plan-modal {
	transform: translateY(0) scale(1);
}

.plan-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(0, 0, 0, 0.06);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1rem;
	color: #666;
	transition: all 0.3s ease;
}

.plan-modal-close:hover {
	background: rgba(255, 0, 0, 0.1);
	color: #e74c3c;
	transform: rotate(90deg);
}

.plan-modal-header {
	text-align: center;
	margin-bottom: 1.5rem;
}

.plan-modal-icon {
	font-size: 2.5rem;
	color: #25d366;
	display: block;
	margin-bottom: 0.5rem;
}

.plan-modal-header h3 {
	font-family: "Inter", sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 0.3rem;
}

.plan-modal-plan {
	display: inline-block;
	background: linear-gradient(
		135deg,
		rgba(255, 191, 0, 0.12),
		rgba(255, 191, 0, 0.05)
	);
	color: #b38600;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.4rem 1rem;
	border-radius: 50px;
	border: 1px solid rgba(255, 191, 0, 0.2);
}

.plan-modal-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
	.serv-hero {
		min-height: 80vh;
		padding: 6rem 1.5rem 3rem;
	}

	.serv-hero-content h1 {
		font-size: 2rem;
	}

	.serv-section {
		padding: 3rem 1.5rem;
	}

	.serv-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.serv-packages-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.serv-form-row {
		grid-template-columns: 1fr;
	}

	.serv-portfolio-card {
		padding: 2rem 1.5rem;
	}

	.serv-packages-bg {
		padding: 3rem 1.5rem;
	}
}

@media (max-width: 480px) {
	.serv-hero-content h1 {
		font-size: 1.7rem;
	}

	.serv-hero-content p {
		font-size: 1rem;
	}

	.serv-hero-cta {
		padding: 0.85rem 2rem;
		font-size: 1rem;
	}

	.serv-package-price {
		font-size: 2rem;
	}
}

/* ---- Nav override for servicios ---- */

.serv-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border-bottom: 1px solid rgba(255, 191, 0, 0.1);
	transition: all 0.3s ease;
}

.serv-nav.scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.serv-nav-logo {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: #1a1a1a;
	font-family: "Inter", sans-serif;
	font-weight: 800;
	font-size: 1.2rem;
}

.serv-nav-logo img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
}

.serv-nav-links {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	padding: 0;
	margin: 0;
}

.serv-nav-links li {
	list-style: none;
}

.serv-nav-links a {
	text-decoration: none;
	color: #555;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 0.4rem 0.8rem;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.serv-nav-links a:hover,
.serv-nav-links a.active {
	color: #1a1a1a;
	background: rgba(255, 191, 0, 0.12);
}

/* Mobile nav toggle */
.serv-nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #1a1a1a;
	cursor: pointer;
	padding: 0.3rem;
}

@media (max-width: 768px) {
	.serv-nav {
		padding: 0.8rem 1.2rem;
	}

	.serv-nav-toggle {
		display: block;
	}

	.serv-nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: #fff;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
		transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		z-index: 200;
	}

	.serv-nav-links.open {
		right: 0;
	}

	.serv-nav-links a {
		font-size: 1.1rem;
	}

	.serv-nav-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.3);
		z-index: 150;
	}

	.serv-nav-overlay.show {
		display: block;
	}
}
